Dynomotion

Group: DynoMotion Message: 6921 From: ericncn Date: 3/10/2013
Subject: grounding the KFLOP
People who helped me with the electrical system had put a cable connecting DC GND to earth GND, and also another cable connecting earth GND to the GND hole on KFLOP.

I removed both connections but still, when checking the circuit with a tester there were zero Ohms between DC GND and earth GND.
After a lot of searching I finally found out it was the USB cable (I'm using the cable that I received together with the KFLOP) or better, the PC that is connected to the KFLOP via the USB cable. The PC has DC GND and earth GND together so, via the USB cable, it was shorting both grounds together.

Once I also removed the USB cable I finally got insulation between DC GND and earth GND. Actually not complete insulation, there's still a 73 KOhm leak between the two grounds so I have two questions:

1) is this 73 KOhm leak negligible, or should I insist until I pin down and remove also that and the insulation is complete?

2) I of course can't work with the KFLOP USB cable disconnected from the PC.
I understand I should buy an USB isolator like this:
https://www.olimex.com/Products/Modules/Interface/USB-ISO/
but it'll take time before I get one.

As a quick fix, what could I do?
Should I try to cut the shield of the USB cable?
Where should I cut it? In the middle, close to PC connector, close to KFLOP connector.....

Thank you in advance,
EC
Group: DynoMotion Message: 6923 From: Vlad O Date: 3/10/2013
Subject: Re: grounding the KFLOP
Good way to go - using USB isolator. But it will resolve some problem between KFlop and your computer grounding, if they exist.

When you plan to do all wiring, plan to make a single point of grounding for whole machine, possible close to power supply. 

Another things, I found in my numerous installation of KFlop, is the proper grounding problem of the final step drivers and stepper motor it self.  For some reason, the steppers what I use has a some kind of leakage  to the own enclosure.  I spend some time to figure that out.
So, solution was simple, basically place an additional ground wire next to stepper motor wire and bring the point where stepper attached to the mechanical machine frame, to the power supply ground point.

If you have a "distributed" grounding problem, in my case, where I install linear digital scales with remote display and used a power supply for them instead batteries, they was practically useless, because a distributed grounding.  So, grounding each stepper was resolve that problem as well.
Useful link to reasonable priced digital scale:
http://www.grizzly.com/products/12-Digital-Scale-with-Remote-Readout-Inch-Metric-Fraction/T23012

Good luck!

Vlad



On Sun, Mar 10, 2013 at 9:26 AM, ericncn <ericnc@...> wrote:
 

People who helped me with the electrical system had put a cable connecting DC GND to earth GND, and also another cable connecting earth GND to the GND hole on KFLOP.

I removed both connections but still, when checking the circuit with a tester there were zero Ohms between DC GND and earth GND.
After a lot of searching I finally found out it was the USB cable (I'm using the cable that I received together with the KFLOP) or better, the PC that is connected to the KFLOP via the USB cable. The PC has DC GND and earth GND together so, via the USB cable, it was shorting both grounds together.

Once I also removed the USB cable I finally got insulation between DC GND and earth GND. Actually not complete insulation, there's still a 73 KOhm leak between the two grounds so I have two questions:

1) is this 73 KOhm leak negligible, or should I insist until I pin down and remove also that and the insulation is complete?

2) I of course can't work with the KFLOP USB cable disconnected from the PC.
I understand I should buy an USB isolator like this:
https://www.olimex.com/Products/Modules/Interface/USB-ISO/
but it'll take time before I get one.

As a quick fix, what could I do?
Should I try to cut the shield of the USB cable?
Where should I cut it? In the middle, close to PC connector, close to KFLOP connector.....

Thank you in advance,
EC


Group: DynoMotion Message: 6925 From: ericncn Date: 3/10/2013
Subject: Re: grounding the KFLOP
To cut the USB cable shield is not enough as the DC ground (black wire inside the USB cable) is still shortened to earth GND within the PC's power supply.

As a quick fix, would it make sense to also cut the black wire (DC GND) of the USB cable? Would the KFlop still work?
I am powering the KFfop with an external power supply so maybe the white/green data pair would be enough?

Otherwise I think I have to attempt a modification of the PC power supply and isolate earth GND from DC GND?

EC
--- In DynoMotion@yahoogroups.com, "ericncn" <ericnc@...> wrote:
>
> People who helped me with the electrical system had put a cable connecting DC GND to earth GND, and also another cable connecting earth GND to the GND hole on KFLOP.
>
> I removed both connections but still, when checking the circuit with a tester there were zero Ohms between DC GND and earth GND.
> After a lot of searching I finally found out it was the USB cable (I'm using the cable that I received together with the KFLOP) or better, the PC that is connected to the KFLOP via the USB cable. The PC has DC GND and earth GND together so, via the USB cable, it was shorting both grounds together.
>
> Once I also removed the USB cable I finally got insulation between DC GND and earth GND. Actually not complete insulation, there's still a 73 KOhm leak between the two grounds so I have two questions:
>
> 1) is this 73 KOhm leak negligible, or should I insist until I pin down and remove also that and the insulation is complete?
>
> 2) I of course can't work with the KFLOP USB cable disconnected from the PC.
> I understand I should buy an USB isolator like this:
> https://www.olimex.com/Products/Modules/Interface/USB-ISO/
> but it'll take time before I get one.
>
> As a quick fix, what could I do?
> Should I try to cut the shield of the USB cable?
> Where should I cut it? In the middle, close to PC connector, close to KFLOP connector.....
>
> Thank you in advance,
> EC
Group: DynoMotion Message: 6933 From: Tom Kerekes Date: 3/10/2013
Subject: Re: grounding the KFLOP
Hi EC,

Without using an Isolator Module between you definitely always need a DC Ground connection between KFLOP and the PC.  Do not cut it.

Noise and Grounding is very complex and there exceptions to everything depending on your system, but I believe it is best to keep the USB Shield connection to KFLOP at the KFLOP end.

The earth ground connection to the KFLOP DC GNG Lug point is probably debatable.  I would probably remove it.

Were you having any problems?

Regards
TK 

Group: DynoMotion Message: 6934 From: ericncn Date: 3/10/2013
Subject: Re: grounding the KFLOP
Hi TK,
thank you for clarification.

Yes I am experiencing problems; I believe electrical noise causes false reads in the encoders. I made lots of tests and I can see that when I disconnect all the connections between DC GND and earth GND, INCLUDING the USB cable, the problems go away. If I reconnect any of those DC to earth connections, the problems come back.

Obviously I can't use the system if the KFLOP USB is disconnected so it looks like I either add an USB isolator, or I replace the PC power supply with an isolated one ?

Before reading your answer, I had already cut the shield of the USB cable, close to the PC end.

After I'll have added the USB isolator, should I better replace the USB cable with a new one, or do I keep the cut one?

Thank you
EC

--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi EC,
>
> Without using an Isolator Module between you definitely always need a DC Ground connection between KFLOP and the PC.  Do not cut it.
>
> Noise and Grounding is very complex and there exceptions to everything depending on your system, but I believe it is best to keep the USB Shield connection to KFLOP at the KFLOP end.
>
> The earth ground connection to the KFLOP DC GNG Lug point is probably debatable.  I would probably remove it.
>
> Were you having any problems?
>
> Regards
> TK 
>
>
>
> ________________________________
> From: ericncn <ericnc@...>
> To: DynoMotion@yahoogroups.com
> Sent: Sunday, March 10, 2013 9:53 AM
> Subject: [DynoMotion] Re: grounding the KFLOP
>
>
>  
> To cut the USB cable shield is not enough as the DC ground (black wire inside the USB cable) is still shortened to earth GND within the PC's power supply.
>
> As a quick fix, would it make sense to also cut the black wire (DC GND) of the USB cable? Would the KFlop still work?
> I am powering the KFfop with an external power supply so maybe the white/green data pair would be enough?
>
> Otherwise I think I have to attempt a modification of the PC power supply and isolate earth GND from DC GND?
>
> EC
> --- In DynoMotion@yahoogroups.com, "ericncn" <ericnc@> wrote:
> >
> > People who helped me with the electrical system had put a cable connecting DC GND to earth GND, and also another cable connecting earth GND to the GND hole on KFLOP.
> >
> > I removed both connections but still, when checking the circuit with a tester there were zero Ohms between DC GND and earth GND.
> > After a lot of searching I finally found out it was the USB cable (I'm using the cable that I received together with the KFLOP) or better, the PC that is connected to the KFLOP via the USB cable. The PC has DC GND and earth GND together so, via the USB cable, it was shorting both grounds together.
> >
> > Once I also removed the USB cable I finally got insulation between DC GND and earth GND. Actually not complete insulation, there's still a 73 KOhm leak between the two grounds so I have two questions:
> >
> > 1) is this 73 KOhm leak negligible, or should I insist until I pin down and remove also that and the insulation is complete?
> >
> > 2) I of course can't work with the KFLOP USB cable disconnected from the PC.
> > I understand I should buy an USB isolator like this:
> > https://www.olimex.com/Products/Modules/Interface/USB-ISO/
> > but it'll take time before I get one.
> >
> > As a quick fix, what could I do?
> > Should I try to cut the shield of the USB cable?
> > Where should I cut it? In the middle, close to PC connector, close to KFLOP connector.....
> >
> > Thank you in advance,
> > EC
Group: DynoMotion Message: 6935 From: Shannon Davenport Date: 3/10/2013
Subject: Re: grounding the KFLOP

Hi EC,
If your only problem is encoder noise then here are a few things you can do to fix the problem.

1. Make sure you pc is powered from the same source as the kflop (same ground).  If its not then there is a good chance this is your problem.

2.  If your encoders are single ended then get single ended to differential converters from us digital.  Put them near the encoder.  This is a must!  They are very inexpensive.

3. Try grounding the encoder shield on the encoder end only. 

4.  Make sure all your grounds terminate at a single point.

5.  Add. 01uf caps across your differential encoder inputs. (Last resort)

Shannon

On Mar 10, 2013 6:10 PM, "ericncn" <ericnc@...> wrote:
 

Hi TK,
thank you for clarification.

Yes I am experiencing problems; I believe electrical noise causes false reads in the encoders. I made lots of tests and I can see that when I disconnect all the connections between DC GND and earth GND, INCLUDING the USB cable, the problems go away. If I reconnect any of those DC to earth connections, the problems come back.

Obviously I can't use the system if the KFLOP USB is disconnected so it looks like I either add an USB isolator, or I replace the PC power supply with an isolated one ?

Before reading your answer, I had already cut the shield of the USB cable, close to the PC end.

After I'll have added the USB isolator, should I better replace the USB cable with a new one, or do I keep the cut one?

Thank you
EC

--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi EC,
>
> Without using an Isolator Module between you definitely always need a DC Ground connection between KFLOP and the PC.  Do not cut it.
>
> Noise and Grounding is very complex and there exceptions to everything depending on your system, but I believe it is best to keep the USB Shield connection to KFLOP at the KFLOP end.
>
> The earth ground connection to the KFLOP DC GNG Lug point is probably debatable.  I would probably remove it.
>
> Were you having any problems?
>
> Regards
> TK 
>
>
>
> ________________________________
> From: ericncn <ericnc@...>
> To: DynoMotion@yahoogroups.com
> Sent: Sunday, March 10, 2013 9:53 AM
> Subject: [DynoMotion] Re: grounding the KFLOP
>
>
>  
> To cut the USB cable shield is not enough as the DC ground (black wire inside the USB cable) is still shortened to earth GND within the PC's power supply.
>
> As a quick fix, would it make sense to also cut the black wire (DC GND) of the USB cable? Would the KFlop still work?
> I am powering the KFfop with an external power supply so maybe the white/green data pair would be enough?
>
> Otherwise I think I have to attempt a modification of the PC power supply and isolate earth GND from DC GND?
>
> EC
> --- In DynoMotion@yahoogroups.com, "ericncn" <ericnc@> wrote:
> >
> > People who helped me with the electrical system had put a cable connecting DC GND to earth GND, and also another cable connecting earth GND to the GND hole on KFLOP.
> >
> > I removed both connections but still, when checking the circuit with a tester there were zero Ohms between DC GND and earth GND.
> > After a lot of searching I finally found out it was the USB cable (I'm using the cable that I received together with the KFLOP) or better, the PC that is connected to the KFLOP via the USB cable. The PC has DC GND and earth GND together so, via the USB cable, it was shorting both grounds together.
> >
> > Once I also removed the USB cable I finally got insulation between DC GND and earth GND. Actually not complete insulation, there's still a 73 KOhm leak between the two grounds so I have two questions:
> >
> > 1) is this 73 KOhm leak negligible, or should I insist until I pin down and remove also that and the insulation is complete?
> >
> > 2) I of course can't work with the KFLOP USB cable disconnected from the PC.
> > I understand I should buy an USB isolator like this:
> > https://www.olimex.com/Products/Modules/Interface/USB-ISO/
> > but it'll take time before I get one.
> >
> > As a quick fix, what could I do?
> > Should I try to cut the shield of the USB cable?
> > Where should I cut it? In the middle, close to PC connector, close to KFLOP connector.....
> >
> > Thank you in advance,
> > EC

Group: DynoMotion Message: 6936 From: Tom Kerekes Date: 3/10/2013
Subject: Re: grounding the KFLOP
Hi EC,

If you install a USB Isolator I would use a shielded cable.

Can't you track down the source of the noise?  Are you using differential encoders?

Regards
TK


Group: DynoMotion Message: 6937 From: cell.vlad Date: 3/10/2013
Subject: Re: grounding the KFLOP
Good way to go - using USB isolator. But it will resolve some problem between KFlop and your computer grounding, if they exist.

When you plan to do all wiring, plan to make a single point of grounding for whole machine, possible close to power supply. 

Another things, I found in my numerous installation of KFlop, is the proper grounding problem of the final step drivers and stepper motor it self.  For some reason, the steppers what I use has a some kind of leakage  to the own enclosure.  I spend some time to figure that out.
So, solution was simple, basically place an additional ground wire next to stepper motor wire and bring the point where stepper attached to the mechanical machine frame, to the power supply ground point.

If you have a "distributed" grounding problem, in my case, where I install linear digital scales with remote display and used a power supply for them instead batteries, they was practically useless, because a distributed grounding.  So, grounding each stepper was resolve that problem as well.
Useful link to reasonable priced digital scale:
http://www.grizzly.com/ products/12-Digital-Scale- with-Remote-Readout-Inch- Metric-Fraction/T23012

Good luck!
Group: DynoMotion Message: 6939 From: ericncn Date: 3/10/2013
Subject: Re: grounding the KFLOP
Thank you all for the answers.

Shannon, Vlad, thank you for the suggestions. Most of them are already implemented. My encoders work perfectly, except they get crazy when subject to abnormal noise. Please read below for a clarification of my question.

EC, my encoders are incremental encoders supplying A+/A-, B+/B-, idx+/idx- signals... (are they called differential?) and I know very well which is the source of noise. I temporarily have a faulty apparatus in the system (would like to avoid details) that generates the noise.

It is very clear that when the faulty apparatus is turned on, the axes start moving randomly and when the apparatus is turned off the axes rest in peace.
I interpret this as the encoders giving false reads when subject to the noise; maybe it's something else, the point is that once I remove the ground loops the system works correctly even if the noise source is turned on.

Sure, the faulty apparatus has to be fixed or replaced and it'll be as soon as possible; but still I'd like the system to be correctly wired.

I mean, should I just remove the source of noise and leave everything else as is?

I believe it is wiser, and safer, to have the system correctly grounded and more noise tolerant. This way the next time something breaks and starts generating noise, the axes won't start moving like crazy again (which is dangerous per se) and the electronic parts won't be at risk.

Hope I managed to clarify my question....

EC

--- In DynoMotion@yahoogroups.com, Shannon Davenport <sdavenport.roa@...> wrote:
>
> Hi EC,
> If your only problem is encoder noise then here are a few things you can do
> to fix the problem.
>
> 1. Make sure you pc is powered from the same source as the kflop (same
> ground). If its not then there is a good chance this is your problem.
>
> 2. If your encoders are single ended then get single ended to differential
> converters from us digital. Put them near the encoder. This is a must!
> They are very inexpensive.
>
> 3. Try grounding the encoder shield on the encoder end only.
>
> 4. Make sure all your grounds terminate at a single point.
>
> 5. Add. 01uf caps across your differential encoder inputs. (Last resort)
>
> Shannon
> On Mar 10, 2013 6:10 PM, "ericncn" <ericnc@...> wrote:
>
> > **
> >
> >
> > Hi TK,
> > thank you for clarification.
> >
> > Yes I am experiencing problems; I believe electrical noise causes false
> > reads in the encoders. I made lots of tests and I can see that when I
> > disconnect all the connections between DC GND and earth GND, INCLUDING the
> > USB cable, the problems go away. If I reconnect any of those DC to earth
> > connections, the problems come back.
> >
> > Obviously I can't use the system if the KFLOP USB is disconnected so it
> > looks like I either add an USB isolator, or I replace the PC power supply
> > with an isolated one ?
> >
> > Before reading your answer, I had already cut the shield of the USB cable,
> > close to the PC end.
> >
> > After I'll have added the USB isolator, should I better replace the USB
> > cable with a new one, or do I keep the cut one?
> >
> > Thank you
> > EC
> >
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > >
> > > Hi EC,
> > >
> > > Without using an Isolator Module between you definitely always need a DC
> > Ground connection between KFLOP and the PC. Do not cut it.
> > >
> > > Noise and Grounding is very complex and there exceptions to everything
> > depending on your system, but I believe it is best to keep the USB Shield
> > connection to KFLOP at the KFLOP end.
> > >
> > > The earth ground connection to the KFLOP DC GNG Lug point is probably
> > debatable. I would probably remove it.
> > >
> > > Were you having any problems?
> > >
> > > Regards
> > > TKÂ
> > >
> > >
> > >
> > > ________________________________
> > > From: ericncn <ericnc@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Sunday, March 10, 2013 9:53 AM
> > > Subject: [DynoMotion] Re: grounding the KFLOP
> > >
> > >
> > > Â
> > > To cut the USB cable shield is not enough as the DC ground (black wire
> > inside the USB cable) is still shortened to earth GND within the PC's power
> > supply.
> > >
> > > As a quick fix, would it make sense to also cut the black wire (DC GND)
> > of the USB cable? Would the KFlop still work?
> > > I am powering the KFfop with an external power supply so maybe the
> > white/green data pair would be enough?
> > >
> > > Otherwise I think I have to attempt a modification of the PC power
> > supply and isolate earth GND from DC GND?
> > >
> > > EC
> > > --- In DynoMotion@yahoogroups.com, "ericncn" <ericnc@> wrote:
> > > >
> > > > People who helped me with the electrical system had put a cable
> > connecting DC GND to earth GND, and also another cable connecting earth GND
> > to the GND hole on KFLOP.
> > > >
> > > > I removed both connections but still, when checking the circuit with a
> > tester there were zero Ohms between DC GND and earth GND.
> > > > After a lot of searching I finally found out it was the USB cable (I'm
> > using the cable that I received together with the KFLOP) or better, the PC
> > that is connected to the KFLOP via the USB cable. The PC has DC GND and
> > earth GND together so, via the USB cable, it was shorting both grounds
> > together.
> > > >
> > > > Once I also removed the USB cable I finally got insulation between DC
> > GND and earth GND. Actually not complete insulation, there's still a 73
> > KOhm leak between the two grounds so I have two questions:
> > > >
> > > > 1) is this 73 KOhm leak negligible, or should I insist until I pin
> > down and remove also that and the insulation is complete?
> > > >
> > > > 2) I of course can't work with the KFLOP USB cable disconnected from
> > the PC.
> > > > I understand I should buy an USB isolator like this:
> > > > https://www.olimex.com/Products/Modules/Interface/USB-ISO/
> > > > but it'll take time before I get one.
> > > >
> > > > As a quick fix, what could I do?
> > > > Should I try to cut the shield of the USB cable?
> > > > Where should I cut it? In the middle, close to PC connector, close to
> > KFLOP connector.....
> > > >
> > > > Thank you in advance,
> > > > EC
Group: DynoMotion Message: 6940 From: ericncn Date: 3/10/2013
Subject: Re: grounding the KFLOP
Thank you all for the answers.

Shannon, Vlad, thank you for the suggestions. Most of them are already implemented. My encoders work perfectly, except they get crazy when subject to abnormal noise. Please read below for a clarification of my question.

TK, my encoders are incremental encoders supplying A+/A-, B+/B-, idx+/idx- signals... (are they called differential?) and I know very well which is the source of noise. I temporarily have a faulty apparatus in the system (would like to avoid details) that generates the noise.

It is very clear that when the faulty apparatus is turned on, the axes start moving randomly and when the apparatus is turned off the axes rest in peace.
I interpret this as the encoders giving false reads when subject to the noise; maybe it's something else, the point is that once I remove the ground loops the system works correctly even if the noise source is turned on.

Sure, the faulty apparatus has to be fixed or replaced and it'll be as soon as possible; but still I'd like the system to be correctly wired.

I mean, should I just remove the source of noise and leave everything else as is?

I believe it is wiser, and safer, to have the system correctly grounded and more noise tolerant. This way the next time something breaks and starts generating noise, the axes won't start moving like crazy again (which is dangerous per se) and the electronic parts won't be at risk.

Hope I managed to clarify my question....

EC

--- In DynoMotion@yahoogroups.com, Shannon Davenport <sdavenport.roa@...> wrote:
>
> Hi EC,
> If your only problem is encoder noise then here are a few things you can do
> to fix the problem.
>
> 1. Make sure you pc is powered from the same source as the kflop (same
> ground). If its not then there is a good chance this is your problem.
>
> 2. If your encoders are single ended then get single ended to differential
> converters from us digital. Put them near the encoder. This is a must!
> They are very inexpensive.
>
> 3. Try grounding the encoder shield on the encoder end only.
>
> 4. Make sure all your grounds terminate at a single point.
>
> 5. Add. 01uf caps across your differential encoder inputs. (Last resort)
>
> Shannon
> On Mar 10, 2013 6:10 PM, "ericncn" <ericnc@...> wrote:
>
> > **
> >
> >
> > Hi TK,
> > thank you for clarification.
> >
> > Yes I am experiencing problems; I believe electrical noise causes false
> > reads in the encoders. I made lots of tests and I can see that when I
> > disconnect all the connections between DC GND and earth GND, INCLUDING the
> > USB cable, the problems go away. If I reconnect any of those DC to earth
> > connections, the problems come back.
> >
> > Obviously I can't use the system if the KFLOP USB is disconnected so it
> > looks like I either add an USB isolator, or I replace the PC power supply
> > with an isolated one ?
> >
> > Before reading your answer, I had already cut the shield of the USB cable,
> > close to the PC end.
> >
> > After I'll have added the USB isolator, should I better replace the USB
> > cable with a new one, or do I keep the cut one?
> >
> > Thank you
> > EC
> >
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > >
> > > Hi EC,
> > >
> > > Without using an Isolator Module between you definitely always need a DC
> > Ground connection between KFLOP and the PC. Do not cut it.
> > >
> > > Noise and Grounding is very complex and there exceptions to everything
> > depending on your system, but I believe it is best to keep the USB Shield
> > connection to KFLOP at the KFLOP end.
> > >
> > > The earth ground connection to the KFLOP DC GNG Lug point is probably
> > debatable. I would probably remove it.
> > >
> > > Were you having any problems?
> > >
> > > Regards
> > > TKÂ
> > >
> > >
> > >
> > > ________________________________
> > > From: ericncn <ericnc@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Sunday, March 10, 2013 9:53 AM
> > > Subject: [DynoMotion] Re: grounding the KFLOP
> > >
> > >
> > > Â
> > > To cut the USB cable shield is not enough as the DC ground (black wire
> > inside the USB cable) is still shortened to earth GND within the PC's power
> > supply.
> > >
> > > As a quick fix, would it make sense to also cut the black wire (DC GND)
> > of the USB cable? Would the KFlop still work?
> > > I am powering the KFfop with an external power supply so maybe the
> > white/green data pair would be enough?
> > >
> > > Otherwise I think I have to attempt a modification of the PC power
> > supply and isolate earth GND from DC GND?
> > >
Group: DynoMotion Message: 6941 From: Shannon Davenport Date: 3/10/2013
Subject: Re: grounding the KFLOP

I thought I had seen you were using differential encoders (a+ a- etc) in one of your emails but a cursory search didn't reveal it.  Sounds like you are headed in the right direction.   I bought a fluke scope a couple of years ago and it really helped in finding noise problems with encoders.  Comforting to see the changes you make actually make a difference. Capacitors have saved bailed me out many times.
Shannon

On Mar 10, 2013 7:58 PM, "ericncn" <ericnc@...> wrote:
 

Thank you all for the answers.

Shannon, Vlad, thank you for the suggestions. Most of them are already implemented. My encoders work perfectly, except they get crazy when subject to abnormal noise. Please read below for a clarification of my question.

EC, my encoders are incremental encoders supplying A+/A-, B+/B-, idx+/idx- signals... (are they called differential?) and I know very well which is the source of noise. I temporarily have a faulty apparatus in the system (would like to avoid details) that generates the noise.

It is very clear that when the faulty apparatus is turned on, the axes start moving randomly and when the apparatus is turned off the axes rest in peace.
I interpret this as the encoders giving false reads when subject to the noise; maybe it's something else, the point is that once I remove the ground loops the system works correctly even if the noise source is turned on.

Sure, the faulty apparatus has to be fixed or replaced and it'll be as soon as possible; but still I'd like the system to be correctly wired.

I mean, should I just remove the source of noise and leave everything else as is?

I believe it is wiser, and safer, to have the system correctly grounded and more noise tolerant. This way the next time something breaks and starts generating noise, the axes won't start moving like crazy again (which is dangerous per se) and the electronic parts won't be at risk.

Hope I managed to clarify my question....

EC

--- In DynoMotion@yahoogroups.com, Shannon Davenport <sdavenport.roa@...> wrote:
>
> Hi EC,
> If your only problem is encoder noise then here are a few things you can do
> to fix the problem.
>
> 1. Make sure you pc is powered from the same source as the kflop (same
> ground). If its not then there is a good chance this is your problem.
>
> 2. If your encoders are single ended then get single ended to differential
> converters from us digital. Put them near the encoder. This is a must!
> They are very inexpensive.
>
> 3. Try grounding the encoder shield on the encoder end only.
>
> 4. Make sure all your grounds terminate at a single point.
>
> 5. Add. 01uf caps across your differential encoder inputs. (Last resort)
>
> Shannon
> On Mar 10, 2013 6:10 PM, "ericncn" <ericnc@...> wrote:
>
> > **
> >
> >
> > Hi TK,
> > thank you for clarification.
> >
> > Yes I am experiencing problems; I believe electrical noise causes false
> > reads in the encoders. I made lots of tests and I can see that when I
> > disconnect all the connections between DC GND and earth GND, INCLUDING the
> > USB cable, the problems go away. If I reconnect any of those DC to earth
> > connections, the problems come back.
> >
> > Obviously I can't use the system if the KFLOP USB is disconnected so it
> > looks like I either add an USB isolator, or I replace the PC power supply
> > with an isolated one ?
> >
> > Before reading your answer, I had already cut the shield of the USB cable,
> > close to the PC end.
> >
> > After I'll have added the USB isolator, should I better replace the USB
> > cable with a new one, or do I keep the cut one?
> >
> > Thank you
> > EC
> >
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > >
> > > Hi EC,
> > >
> > > Without using an Isolator Module between you definitely always need a DC
> > Ground connection between KFLOP and the PC. Do not cut it.
> > >
> > > Noise and Grounding is very complex and there exceptions to everything
> > depending on your system, but I believe it is best to keep the USB Shield
> > connection to KFLOP at the KFLOP end.
> > >
> > > The earth ground connection to the KFLOP DC GNG Lug point is probably
> > debatable. I would probably remove it.
> > >
> > > Were you having any problems?
> > >
> > > Regards
> > > TKÂ
> > >
> > >
> > >
> > > ________________________________
> > > From: ericncn <ericnc@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Sunday, March 10, 2013 9:53 AM
> > > Subject: [DynoMotion] Re: grounding the KFLOP
> > >
> > >
> > > Â
> > > To cut the USB cable shield is not enough as the DC ground (black wire
> > inside the USB cable) is still shortened to earth GND within the PC's power
> > supply.
> > >
> > > As a quick fix, would it make sense to also cut the black wire (DC GND)
> > of the USB cable? Would the KFlop still work?
> > > I am powering the KFfop with an external power supply so maybe the
> > white/green data pair would be enough?
> > >
> > > Otherwise I think I have to attempt a modification of the PC power
> > supply and isolate earth GND from DC GND?
> > >
> > > EC
> > > --- In DynoMotion@yahoogroups.com, "ericncn" <ericnc@> wrote:
> > > >
> > > > People who helped me with the electrical system had put a cable
> > connecting DC GND to earth GND, and also another cable connecting earth GND
> > to the GND hole on KFLOP.
> > > >
> > > > I removed both connections but still, when checking the circuit with a
> > tester there were zero Ohms between DC GND and earth GND.
> > > > After a lot of searching I finally found out it was the USB cable (I'm
> > using the cable that I received together with the KFLOP) or better, the PC
> > that is connected to the KFLOP via the USB cable. The PC has DC GND and
> > earth GND together so, via the USB cable, it was shorting both grounds
> > together.
> > > >
> > > > Once I also removed the USB cable I finally got insulation between DC
> > GND and earth GND. Actually not complete insulation, there's still a 73
> > KOhm leak between the two grounds so I have two questions:
> > > >
> > > > 1) is this 73 KOhm leak negligible, or should I insist until I pin
> > down and remove also that and the insulation is complete?
> > > >
> > > > 2) I of course can't work with the KFLOP USB cable disconnected from
> > the PC.
> > > > I understand I should buy an USB isolator like this:
> > > > https://www.olimex.com/Products/Modules/Interface/USB-ISO/
> > > > but it'll take time before I get one.
> > > >
> > > > As a quick fix, what could I do?
> > > > Should I try to cut the shield of the USB cable?
> > > > Where should I cut it? In the middle, close to PC connector, close to
> > KFLOP connector.....
> > > >
> > > > Thank you in advance,
> > > > EC

Group: DynoMotion Message: 6971 From: az9633@ymail.com Date: 3/13/2013
Subject: Re: grounding the KFLOP
Hello EC

There are a couple of things you can try to make your system more noise immune.

One thing that may help is using twisted pairs shielded cable for your encoder signals including the power pair. I find braided and foil overall shield works well. You don't need to use individual shields for each pair. Make sure that you pair up your complementary signals together on the same twisted pair, A, A-, etc.

Are your encoders true line driver output devices or are they TTL or open collector complementary outputs? True line drivers will offer more noise immunity.

It seems that you said if you disconnect the USB cable from the K flop the erratic motion stops. If this is the case, It means you don't really have an encoder reading problem, your problem is system noise (possibly ground noise) that shows up in the encoder circuit.

Is the noisy device sharing the power supply or ground or signal common with the PC or the K flop?

Do you have optical isolation on your I/O with isolated power aupplies?

Just as a matter of reliability I will be using a PC USB isolator on my K flop systems along with optical isolation on all the I/O. The external devices on the "world" side of the I/O will have thier own power supplies. Usually all the power supplies 0 volt connection will be grounded to the system single point ground.

I've found this connection theory works well with most systems but I'm starting up my first K flop so I'll see if it works here too.

Good luck

AZ



Even a--- In DynoMotion@yahoogroups.com, Shannon Davenport <sdavenport.roa@...> wrote:
>
> I thought I had seen you were using differential encoders (a+ a- etc) in
> one of your emails but a cursory search didn't reveal it. Sounds like you
> are headed in the right direction. I bought a fluke scope a couple of
> years ago and it really helped in finding noise problems with encoders.
> Comforting to see the changes you make actually make a difference.
> Capacitors have saved bailed me out many times.
> Shannon
> On Mar 10, 2013 7:58 PM, "ericncn" <ericnc@...> wrote:
>
> > **
> >
> >
> > Thank you all for the answers.
> >
> > Shannon, Vlad, thank you for the suggestions. Most of them are already
> > implemented. My encoders work perfectly, except they get crazy when subject
> > to abnormal noise. Please read below for a clarification of my question.
> >
> > EC, my encoders are incremental encoders supplying A+/A-, B+/B-, idx+/idx-
> > signals... (are they called differential?) and I know very well which is
> > the source of noise. I temporarily have a faulty apparatus in the system
> > (would like to avoid details) that generates the noise.
> >
> > It is very clear that when the faulty apparatus is turned on, the axes
> > start moving randomly and when the apparatus is turned off the axes rest in
> > peace.
> > I interpret this as the encoders giving false reads when subject to the
> > noise; maybe it's something else, the point is that once I remove the
> > ground loops the system works correctly even if the noise source is turned
> > on.
> >
> > Sure, the faulty apparatus has to be fixed or replaced and it'll be as
> > soon as possible; but still I'd like the system to be correctly wired.
> >
> > I mean, should I just remove the source of noise and leave everything else
> > as is?
> >
> > I believe it is wiser, and safer, to have the system correctly grounded
> > and more noise tolerant. This way the next time something breaks and starts
> > generating noise, the axes won't start moving like crazy again (which is
> > dangerous per se) and the electronic parts won't be at risk.
> >
> > Hope I managed to clarify my question....
> >
> > EC
> >
> > --- In DynoMotion@yahoogroups.com, Shannon Davenport <sdavenport.roa@>
> > wrote:
> > >
> > > Hi EC,
> > > If your only problem is encoder noise then here are a few things you can
> > do
> > > to fix the problem.
> > >
> > > 1. Make sure you pc is powered from the same source as the kflop (same
> > > ground). If its not then there is a good chance this is your problem.
> > >
> > > 2. If your encoders are single ended then get single ended to
> > differential
> > > converters from us digital. Put them near the encoder. This is a must!
> > > They are very inexpensive.
> > >
> > > 3. Try grounding the encoder shield on the encoder end only.
> > >
> > > 4. Make sure all your grounds terminate at a single point.
> > >
> > > 5. Add. 01uf caps across your differential encoder inputs. (Last resort)
> > >
> > > Shannon
> > > On Mar 10, 2013 6:10 PM, "ericncn" <ericnc@> wrote:
> > >
> > > > **
> > > >
> > > >
> > > > Hi TK,
> > > > thank you for clarification.
> > > >
> > > > Yes I am experiencing problems; I believe electrical noise causes false
> > > > reads in the encoders. I made lots of tests and I can see that when I
> > > > disconnect all the connections between DC GND and earth GND, INCLUDING
> > the
> > > > USB cable, the problems go away. If I reconnect any of those DC to
> > earth
> > > > connections, the problems come back.
> > > >
> > > > Obviously I can't use the system if the KFLOP USB is disconnected so it
> > > > looks like I either add an USB isolator, or I replace the PC power
> > supply
> > > > with an isolated one ?
> > > >
> > > > Before reading your answer, I had already cut the shield of the USB
> > cable,
> > > > close to the PC end.
> > > >
> > > > After I'll have added the USB isolator, should I better replace the USB
> > > > cable with a new one, or do I keep the cut one?
> > > >
> > > > Thank you
> > > > EC
> > > >
> > > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > > > >
> > > > > Hi EC,
> > > > >
> > > > > Without using an Isolator Module between you definitely always need
> > a DC
> > > > Ground connection between KFLOP and the PC. Do not cut it.
> > > > >
> > > > > Noise and Grounding is very complex and there exceptions to
> > everything
> > > > depending on your system, but I believe it is best to keep the USB
> > Shield
> > > > connection to KFLOP at the KFLOP end.
> > > > >
> > > > > The earth ground connection to the KFLOP DC GNG Lug point is probably
> > > > debatable. I would probably remove it.
> > > > >
> > > > > Were you having any problems?
> > > > >
> > > > > Regards
> > > > > TKÂ
> > > > >
> > > > >
> > > > >
> > > > > ________________________________
> > > > > From: ericncn <ericnc@>
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Sent: Sunday, March 10, 2013 9:53 AM
> > > > > Subject: [DynoMotion] Re: grounding the KFLOP
> > > > >
> > > > >
> > > > > Â
> > > > > To cut the USB cable shield is not enough as the DC ground (black
> > wire
> > > > inside the USB cable) is still shortened to earth GND within the PC's
> > power
> > > > supply.
> > > > >
> > > > > As a quick fix, would it make sense to also cut the black wire (DC
> > GND)
> > > > of the USB cable? Would the KFlop still work?
> > > > > I am powering the KFfop with an external power supply so maybe the
> > > > white/green data pair would be enough?
> > > > >
> > > > > Otherwise I think I have to attempt a modification of the PC power
> > > > supply and isolate earth GND from DC GND?
> > > > >
> > > > > EC
> > > > > --- In DynoMotion@yahoogroups.com, "ericncn" <ericnc@> wrote:
> > > > > >
> > > > > > People who helped me with the electrical system had put a cable
> > > > connecting DC GND to earth GND, and also another cable connecting
> > earth GND
> > > > to the GND hole on KFLOP.
> > > > > >
> > > > > > I removed both connections but still, when checking the circuit
> > with a
> > > > tester there were zero Ohms between DC GND and earth GND.
> > > > > > After a lot of searching I finally found out it was the USB cable
> > (I'm
> > > > using the cable that I received together with the KFLOP) or better,
> > the PC
> > > > that is connected to the KFLOP via the USB cable. The PC has DC GND and
> > > > earth GND together so, via the USB cable, it was shorting both grounds
> > > > together.
> > > > > >
> > > > > > Once I also removed the USB cable I finally got insulation between
> > DC
> > > > GND and earth GND. Actually not complete insulation, there's still a 73
> > > > KOhm leak between the two grounds so I have two questions:
> > > > > >
> > > > > > 1) is this 73 KOhm leak negligible, or should I insist until I pin
> > > > down and remove also that and the insulation is complete?
> > > > > >
> > > > > > 2) I of course can't work with the KFLOP USB cable disconnected
> > from
> > > > the PC.
> > > > > > I understand I should buy an USB isolator like this:
> > > > > > https://www.olimex.com/Products/Modules/Interface/USB-ISO/
> > > > > > but it'll take time before I get one.
> > > > > >
> > > > > > As a quick fix, what could I do?
> > > > > > Should I try to cut the shield of the USB cable?
> > > > > > Where should I cut it? In the middle, close to PC connector, close
> > to
> > > > KFLOP connector.....
> > > > > >
> > > > > > Thank you in advance,
> > > > > > EC
> >
> >
> >
>
Group: DynoMotion Message: 6979 From: ericncn Date: 3/13/2013
Subject: Re: grounding the KFLOP
Thank you AZ,
I need to read your answer again before answering.
I've spent all my day in the workshop tinkering with the machine and strange things happened.
First, I've bought the USB isolator that was recommended by TK.
Surprise, once installed it looked useless, as soon as I turned on the noise source the erratic behavior of the axes showed again.
But, I was using that USB cable which shield I had cut.
Even though skeptical, I then tried a new USB cable (intact shield) and... surprise, it worked. The machine now looks insensitive to the noise.
This really puzzles me!
An USB cable with cut shield, looks me just more isolated from earth GND than an integer USB cable! Not the other way around!

Here is a summary of the experiments I've done during these days, they are contradicted by today's findings!

In all experiments, PC always has DC GND connected to earth GND, and earth GND is same as controller (KFLOP) earth GND.

Regarding the KFLOP controller system:

DC GND connected to earth GND + USB cable connected to PC
-> system is sensitive to noise

DC GND DISconnected + USB cable connected to PC
-> system is sensitive to noise

DC GND connected to earth GND + USB cable disconnected
-> system is sensitive to noise

BOTH DC GND DISconnected AND USB cable disconnected
-> noise DOESN'T affect the system
==================================

DC GND DISconnected + USB cable with cut shield
-> system is sensitive to noise

DC GND DISconnected + USB isolator + cable with cut shield
-> system is sensitive to noise

DC GND connected to earth GND + USB isolator + intact cable
-> noise DOESN'T affect the system
==================================

Oh yeah, I forgot to tell that in the last test I reconnected DC GND to earth GND, and still, the system works.

In each test, in order to state system sensitive or insensitive to noise, I have alternately tried with the noise source off and the noise source off - at least twice, but often more times

EC

--- In DynoMotion@yahoogroups.com, "az9633@..." <az@...> wrote:
>
> Hello EC
>
> There are a couple of things you can try to make your system more noise immune.
>
> One thing that may help is using twisted pairs shielded cable for your encoder signals including the power pair. I find braided and foil overall shield works well. You don't need to use individual shields for each pair. Make sure that you pair up your complementary signals together on the same twisted pair, A, A-, etc.
>
> Are your encoders true line driver output devices or are they TTL or open collector complementary outputs? True line drivers will offer more noise immunity.
>
> It seems that you said if you disconnect the USB cable from the K flop the erratic motion stops. If this is the case, It means you don't really have an encoder reading problem, your problem is system noise (possibly ground noise) that shows up in the encoder circuit.
>
> Is the noisy device sharing the power supply or ground or signal common with the PC or the K flop?
>
> Do you have optical isolation on your I/O with isolated power aupplies?
>
> Just as a matter of reliability I will be using a PC USB isolator on my K flop systems along with optical isolation on all the I/O. The external devices on the "world" side of the I/O will have thier own power supplies. Usually all the power supplies 0 volt connection will be grounded to the system single point ground.
>
> I've found this connection theory works well with most systems but I'm starting up my first K flop so I'll see if it works here too.
>
> Good luck
>
> AZ
>
>
>
> Even a--- In DynoMotion@yahoogroups.com, Shannon Davenport <sdavenport.roa@> wrote:
> >
> > I thought I had seen you were using differential encoders (a+ a- etc) in
> > one of your emails but a cursory search didn't reveal it. Sounds like you
> > are headed in the right direction. I bought a fluke scope a couple of
> > years ago and it really helped in finding noise problems with encoders.
> > Comforting to see the changes you make actually make a difference.
> > Capacitors have saved bailed me out many times.
> > Shannon
> > On Mar 10, 2013 7:58 PM, "ericncn" <ericnc@> wrote:
> >
> > > **
> > >
> > >
> > > Thank you all for the answers.
> > >
> > > Shannon, Vlad, thank you for the suggestions. Most of them are already
> > > implemented. My encoders work perfectly, except they get crazy when subject
> > > to abnormal noise. Please read below for a clarification of my question.
> > >
> > > EC, my encoders are incremental encoders supplying A+/A-, B+/B-, idx+/idx-
> > > signals... (are they called differential?) and I know very well which is
> > > the source of noise. I temporarily have a faulty apparatus in the system
> > > (would like to avoid details) that generates the noise.
> > >
> > > It is very clear that when the faulty apparatus is turned on, the axes
> > > start moving randomly and when the apparatus is turned off the axes rest in
> > > peace.
> > > I interpret this as the encoders giving false reads when subject to the
> > > noise; maybe it's something else, the point is that once I remove the
> > > ground loops the system works correctly even if the noise source is turned
> > > on.
> > >
> > > Sure, the faulty apparatus has to be fixed or replaced and it'll be as
> > > soon as possible; but still I'd like the system to be correctly wired.
> > >
> > > I mean, should I just remove the source of noise and leave everything else
> > > as is?
> > >
> > > I believe it is wiser, and safer, to have the system correctly grounded
> > > and more noise tolerant. This way the next time something breaks and starts
> > > generating noise, the axes won't start moving like crazy again (which is
> > > dangerous per se) and the electronic parts won't be at risk.
> > >
> > > Hope I managed to clarify my question....
> > >
> > > EC
> > >
> > > --- In DynoMotion@yahoogroups.com, Shannon Davenport <sdavenport.roa@>
> > > wrote:
> > > >
> > > > Hi EC,
> > > > If your only problem is encoder noise then here are a few things you can
> > > do
> > > > to fix the problem.
> > > >
> > > > 1. Make sure you pc is powered from the same source as the kflop (same
> > > > ground). If its not then there is a good chance this is your problem.
> > > >
> > > > 2. If your encoders are single ended then get single ended to
> > > differential
> > > > converters from us digital. Put them near the encoder. This is a must!
> > > > They are very inexpensive.
> > > >
> > > > 3. Try grounding the encoder shield on the encoder end only.
> > > >
> > > > 4. Make sure all your grounds terminate at a single point.
> > > >
> > > > 5. Add. 01uf caps across your differential encoder inputs. (Last resort)
> > > >
> > > > Shannon
> > > > On Mar 10, 2013 6:10 PM, "ericncn" <ericnc@> wrote:
> > > >
> > > > > **
> > > > >
> > > > >
> > > > > Hi TK,
> > > > > thank you for clarification.
> > > > >
> > > > > Yes I am experiencing problems; I believe electrical noise causes false
> > > > > reads in the encoders. I made lots of tests and I can see that when I
> > > > > disconnect all the connections between DC GND and earth GND, INCLUDING
> > > the
> > > > > USB cable, the problems go away. If I reconnect any of those DC to
> > > earth
> > > > > connections, the problems come back.
> > > > >
> > > > > Obviously I can't use the system if the KFLOP USB is disconnected so it
> > > > > looks like I either add an USB isolator, or I replace the PC power
> > > supply
> > > > > with an isolated one ?
> > > > >
> > > > > Before reading your answer, I had already cut the shield of the USB
> > > cable,
> > > > > close to the PC end.
> > > > >
> > > > > After I'll have added the USB isolator, should I better replace the USB
> > > > > cable with a new one, or do I keep the cut one?
> > > > >
> > > > > Thank you
> > > > > EC
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > > > > >
> > > > > > Hi EC,
> > > > > >
> > > > > > Without using an Isolator Module between you definitely always need
> > > a DC
> > > > > Ground connection between KFLOP and the PC. Do not cut it.
> > > > > >
> > > > > > Noise and Grounding is very complex and there exceptions to
> > > everything
> > > > > depending on your system, but I believe it is best to keep the USB
> > > Shield
> > > > > connection to KFLOP at the KFLOP end.
> > > > > >
> > > > > > The earth ground connection to the KFLOP DC GNG Lug point is probably
> > > > > debatable. I would probably remove it.
> > > > > >
> > > > > > Were you having any problems?
> > > > > >
> > > > > > Regards
> > > > > > TKÂ
> > > > > >
> > > > > >
> > > > > >
> > > > > > ________________________________
> > > > > > From: ericncn <ericnc@>
> > > > > > To: DynoMotion@yahoogroups.com
> > > > > > Sent: Sunday, March 10, 2013 9:53 AM
> > > > > > Subject: [DynoMotion] Re: grounding the KFLOP
> > > > > >
> > > > > >
> > > > > > Â
> > > > > > To cut the USB cable shield is not enough as the DC ground (black
> > > wire
> > > > > inside the USB cable) is still shortened to earth GND within the PC's
> > > power
> > > > > supply.
> > > > > >
> > > > > > As a quick fix, would it make sense to also cut the black wire (DC
> > > GND)
> > > > > of the USB cable? Would the KFlop still work?
> > > > > > I am powering the KFfop with an external power supply so maybe the
> > > > > white/green data pair would be enough?
> > > > > >
> > > > > > Otherwise I think I have to attempt a modification of the PC power
> > > > > supply and isolate earth GND from DC GND?
> > > > > >
> > > > > > EC
> > > > > > --- In DynoMotion@yahoogroups.com, "ericncn" <ericnc@> wrote:
> > > > > > >
> > > > > > > People who helped me with the electrical system had put a cable
> > > > > connecting DC GND to earth GND, and also another cable connecting
> > > earth GND
> > > > > to the GND hole on KFLOP.
> > > > > > >
> > > > > > > I removed both connections but still, when checking the circuit
> > > with a
> > > > > tester there were zero Ohms between DC GND and earth GND.
> > > > > > > After a lot of searching I finally found out it was the USB cable
> > > (I'm
> > > > > using the cable that I received together with the KFLOP) or better,
> > > the PC
> > > > > that is connected to the KFLOP via the USB cable. The PC has DC GND and
> > > > > earth GND together so, via the USB cable, it was shorting both grounds
> > > > > together.
> > > > > > >
> > > > > > > Once I also removed the USB cable I finally got insulation between
> > > DC
> > > > > GND and earth GND. Actually not complete insulation, there's still a 73
> > > > > KOhm leak between the two grounds so I have two questions:
> > > > > > >
> > > > > > > 1) is this 73 KOhm leak negligible, or should I insist until I pin
> > > > > down and remove also that and the insulation is complete?
> > > > > > >
> > > > > > > 2) I of course can't work with the KFLOP USB cable disconnected
> > > from
> > > > > the PC.
> > > > > > > I understand I should buy an USB isolator like this:
> > > > > > > https://www.olimex.com/Products/Modules/Interface/USB-ISO/
> > > > > > > but it'll take time before I get one.
> > > > > > >
> > > > > > > As a quick fix, what could I do?
> > > > > > > Should I try to cut the shield of the USB cable?
> > > > > > > Where should I cut it? In the middle, close to PC connector, close
> > > to
> > > > > KFLOP connector.....
> > > > > > >
> > > > > > > Thank you in advance,
> > > > > > > EC
> > >
> > >
> > >
> >
>
Group: DynoMotion Message: 6980 From: ericncn Date: 3/13/2013
Subject: Re: grounding the KFLOP
I wrote "off and off", I obviously meant "on and off"

--- In DynoMotion@yahoogroups.com, "ericncn" <ericnc@...> wrote:
>
> Thank you AZ,
> I need to read your answer again before answering.
> I've spent all my day in the workshop tinkering with the machine and strange things happened.
> First, I've bought the USB isolator that was recommended by TK.
> Surprise, once installed it looked useless, as soon as I turned on the noise source the erratic behavior of the axes showed again.
> But, I was using that USB cable which shield I had cut.
> Even though skeptical, I then tried a new USB cable (intact shield) and... surprise, it worked. The machine now looks insensitive to the noise.
> This really puzzles me!
> An USB cable with cut shield, looks me just more isolated from earth GND than an integer USB cable! Not the other way around!
>
> Here is a summary of the experiments I've done during these days, they are contradicted by today's findings!
>
> In all experiments, PC always has DC GND connected to earth GND, and earth GND is same as controller (KFLOP) earth GND.
>
> Regarding the KFLOP controller system:
>
> DC GND connected to earth GND + USB cable connected to PC
> -> system is sensitive to noise
>
> DC GND DISconnected + USB cable connected to PC
> -> system is sensitive to noise
>
> DC GND connected to earth GND + USB cable disconnected
> -> system is sensitive to noise
>
> BOTH DC GND DISconnected AND USB cable disconnected
> -> noise DOESN'T affect the system
> ==================================
>
> DC GND DISconnected + USB cable with cut shield
> -> system is sensitive to noise
>
> DC GND DISconnected + USB isolator + cable with cut shield
> -> system is sensitive to noise
>
> DC GND connected to earth GND + USB isolator + intact cable
> -> noise DOESN'T affect the system
> ==================================
>
> Oh yeah, I forgot to tell that in the last test I reconnected DC GND to earth GND, and still, the system works.
>
> In each test, in order to state system sensitive or insensitive to noise, I have alternately tried with the noise source off and the noise source off - at least twice, but often more times
>
> EC
>
> --- In DynoMotion@yahoogroups.com, "az9633@" <az@> wrote:
> >
> > Hello EC
> >
> > There are a couple of things you can try to make your system more noise immune.
> >
> > One thing that may help is using twisted pairs shielded cable for your encoder signals including the power pair. I find braided and foil overall shield works well. You don't need to use individual shields for each pair. Make sure that you pair up your complementary signals together on the same twisted pair, A, A-, etc.
> >
> > Are your encoders true line driver output devices or are they TTL or open collector complementary outputs? True line drivers will offer more noise immunity.
> >
> > It seems that you said if you disconnect the USB cable from the K flop the erratic motion stops. If this is the case, It means you don't really have an encoder reading problem, your problem is system noise (possibly ground noise) that shows up in the encoder circuit.
> >
> > Is the noisy device sharing the power supply or ground or signal common with the PC or the K flop?
> >
> > Do you have optical isolation on your I/O with isolated power aupplies?
> >
> > Just as a matter of reliability I will be using a PC USB isolator on my K flop systems along with optical isolation on all the I/O. The external devices on the "world" side of the I/O will have thier own power supplies. Usually all the power supplies 0 volt connection will be grounded to the system single point ground.
> >
> > I've found this connection theory works well with most systems but I'm starting up my first K flop so I'll see if it works here too.
> >
> > Good luck
> >
> > AZ
> >
> >
> >
> > Even a--- In DynoMotion@yahoogroups.com, Shannon Davenport <sdavenport.roa@> wrote:
> > >
> > > I thought I had seen you were using differential encoders (a+ a- etc) in
> > > one of your emails but a cursory search didn't reveal it. Sounds like you
> > > are headed in the right direction. I bought a fluke scope a couple of
> > > years ago and it really helped in finding noise problems with encoders.
> > > Comforting to see the changes you make actually make a difference.
> > > Capacitors have saved bailed me out many times.
> > > Shannon
> > > On Mar 10, 2013 7:58 PM, "ericncn" <ericnc@> wrote:
> > >
> > > > **
> > > >
> > > >
> > > > Thank you all for the answers.
> > > >
> > > > Shannon, Vlad, thank you for the suggestions. Most of them are already
> > > > implemented. My encoders work perfectly, except they get crazy when subject
> > > > to abnormal noise. Please read below for a clarification of my question.
> > > >
> > > > EC, my encoders are incremental encoders supplying A+/A-, B+/B-, idx+/idx-
> > > > signals... (are they called differential?) and I know very well which is
> > > > the source of noise. I temporarily have a faulty apparatus in the system
> > > > (would like to avoid details) that generates the noise.
> > > >
> > > > It is very clear that when the faulty apparatus is turned on, the axes
> > > > start moving randomly and when the apparatus is turned off the axes rest in
> > > > peace.
> > > > I interpret this as the encoders giving false reads when subject to the
> > > > noise; maybe it's something else, the point is that once I remove the
> > > > ground loops the system works correctly even if the noise source is turned
> > > > on.
> > > >
> > > > Sure, the faulty apparatus has to be fixed or replaced and it'll be as
> > > > soon as possible; but still I'd like the system to be correctly wired.
> > > >
> > > > I mean, should I just remove the source of noise and leave everything else
> > > > as is?
> > > >
> > > > I believe it is wiser, and safer, to have the system correctly grounded
> > > > and more noise tolerant. This way the next time something breaks and starts
> > > > generating noise, the axes won't start moving like crazy again (which is
> > > > dangerous per se) and the electronic parts won't be at risk.
> > > >
> > > > Hope I managed to clarify my question....
> > > >
> > > > EC
> > > >
> > > > --- In DynoMotion@yahoogroups.com, Shannon Davenport <sdavenport.roa@>
> > > > wrote:
> > > > >
> > > > > Hi EC,
> > > > > If your only problem is encoder noise then here are a few things you can
> > > > do
> > > > > to fix the problem.
> > > > >
> > > > > 1. Make sure you pc is powered from the same source as the kflop (same
> > > > > ground). If its not then there is a good chance this is your problem.
> > > > >
> > > > > 2. If your encoders are single ended then get single ended to
> > > > differential
> > > > > converters from us digital. Put them near the encoder. This is a must!
> > > > > They are very inexpensive.
> > > > >
> > > > > 3. Try grounding the encoder shield on the encoder end only.
> > > > >
> > > > > 4. Make sure all your grounds terminate at a single point.
> > > > >
> > > > > 5. Add. 01uf caps across your differential encoder inputs. (Last resort)
> > > > >
> > > > > Shannon
> > > > > On Mar 10, 2013 6:10 PM, "ericncn" <ericnc@> wrote:
> > > > >
> > > > > > **
> > > > > >
> > > > > >
> > > > > > Hi TK,
> > > > > > thank you for clarification.
> > > > > >
> > > > > > Yes I am experiencing problems; I believe electrical noise causes false
> > > > > > reads in the encoders. I made lots of tests and I can see that when I
> > > > > > disconnect all the connections between DC GND and earth GND, INCLUDING
> > > > the
> > > > > > USB cable, the problems go away. If I reconnect any of those DC to
> > > > earth
> > > > > > connections, the problems come back.
> > > > > >
> > > > > > Obviously I can't use the system if the KFLOP USB is disconnected so it
> > > > > > looks like I either add an USB isolator, or I replace the PC power
> > > > supply
> > > > > > with an isolated one ?
> > > > > >
> > > > > > Before reading your answer, I had already cut the shield of the USB
> > > > cable,
> > > > > > close to the PC end.
> > > > > >
> > > > > > After I'll have added the USB isolator, should I better replace the USB
> > > > > > cable with a new one, or do I keep the cut one?
> > > > > >
> > > > > > Thank you
> > > > > > EC
> > > > > >
> > > > > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > > > > > >
> > > > > > > Hi EC,
> > > > > > >
> > > > > > > Without using an Isolator Module between you definitely always need
> > > > a DC
> > > > > > Ground connection between KFLOP and the PC. Do not cut it.
> > > > > > >
> > > > > > > Noise and Grounding is very complex and there exceptions to
> > > > everything
> > > > > > depending on your system, but I believe it is best to keep the USB
> > > > Shield
> > > > > > connection to KFLOP at the KFLOP end.
> > > > > > >
> > > > > > > The earth ground connection to the KFLOP DC GNG Lug point is probably
> > > > > > debatable. I would probably remove it.
> > > > > > >
> > > > > > > Were you having any problems?
> > > > > > >
> > > > > > > Regards
> > > > > > > TKÂ
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > ________________________________
> > > > > > > From: ericncn <ericnc@>
> > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > Sent: Sunday, March 10, 2013 9:53 AM
> > > > > > > Subject: [DynoMotion] Re: grounding the KFLOP
> > > > > > >
> > > > > > >
> > > > > > > Â
> > > > > > > To cut the USB cable shield is not enough as the DC ground (black
> > > > wire
> > > > > > inside the USB cable) is still shortened to earth GND within the PC's
> > > > power
> > > > > > supply.
> > > > > > >
> > > > > > > As a quick fix, would it make sense to also cut the black wire (DC
> > > > GND)
> > > > > > of the USB cable? Would the KFlop still work?
> > > > > > > I am powering the KFfop with an external power supply so maybe the
> > > > > > white/green data pair would be enough?
> > > > > > >
> > > > > > > Otherwise I think I have to attempt a modification of the PC power
> > > > > > supply and isolate earth GND from DC GND?
> > > > > > >
> > > > > > > EC
> > > > > > > --- In DynoMotion@yahoogroups.com, "ericncn" <ericnc@> wrote:
> > > > > > > >
> > > > > > > > People who helped me with the electrical system had put a cable
> > > > > > connecting DC GND to earth GND, and also another cable connecting
> > > > earth GND
> > > > > > to the GND hole on KFLOP.
> > > > > > > >
> > > > > > > > I removed both connections but still, when checking the circuit
> > > > with a
> > > > > > tester there were zero Ohms between DC GND and earth GND.
> > > > > > > > After a lot of searching I finally found out it was the USB cable
> > > > (I'm
> > > > > > using the cable that I received together with the KFLOP) or better,
> > > > the PC
> > > > > > that is connected to the KFLOP via the USB cable. The PC has DC GND and
> > > > > > earth GND together so, via the USB cable, it was shorting both grounds
> > > > > > together.
> > > > > > > >
> > > > > > > > Once I also removed the USB cable I finally got insulation between
> > > > DC
> > > > > > GND and earth GND. Actually not complete insulation, there's still a 73
> > > > > > KOhm leak between the two grounds so I have two questions:
> > > > > > > >
> > > > > > > > 1) is this 73 KOhm leak negligible, or should I insist until I pin
> > > > > > down and remove also that and the insulation is complete?
> > > > > > > >
> > > > > > > > 2) I of course can't work with the KFLOP USB cable disconnected
> > > > from
> > > > > > the PC.
> > > > > > > > I understand I should buy an USB isolator like this:
> > > > > > > > https://www.olimex.com/Products/Modules/Interface/USB-ISO/
> > > > > > > > but it'll take time before I get one.
> > > > > > > >
> > > > > > > > As a quick fix, what could I do?
> > > > > > > > Should I try to cut the shield of the USB cable?
> > > > > > > > Where should I cut it? In the middle, close to PC connector, close
> > > > to
> > > > > > KFLOP connector.....
> > > > > > > >
> > > > > > > > Thank you in advance,
> > > > > > > > EC
> > > >
> > > >
> > > >
> > >
> >
>
Group: DynoMotion Message: 6981 From: Tom Kerekes Date: 3/13/2013
Subject: Re: grounding the KFLOP
Hi AZ,

The only thing I can think of is that without the shield noise is getting into all the USB signals, including something like +5V supply, which is affecting the encoders.  But with the shield the internal signals are protected and the noise drains off to GND.

But I have a hard time following your GND terminology and I think we would need a complete map of the topology of the whole system to be of much help.

Regards
TK 

Group: DynoMotion Message: 6982 From: Lee Studley Date: 3/13/2013
Subject: Re: grounding the KFLOP
Hi Eric,
Just curious and throwing out things I've seen in the past.
1) Is there a plasma cutter or tig welder running nearby or in a
neighbors shop nearby.
2) Do you have neon sign or plasma-ball in your shop?
3)Have you tried .1uF and 1-10uF caps bypass right at the encoders
contacts: 5v and gnd?
4) try another supply for your Kanalog/Kflop,you might have a noisy
switcher.
5) ***try battery power for your laptop as a test, it might have a cheap
noisy switcher.
I bought a replacement one online for my Inspirion laptop. It
died, so I dissected it and found
it was so poorly made. They even had added lead weighting to
make it feel more expensive
6) The shield of your encoder cables should be connected only at the
kflop side, not at the encoders.
7) The encoder cable shield should not cover the motor drive wires in
any way. Meaning the encoder
cables must have their own shield.
8) Try a linear( non-switcher ) supply for the encoders and it's ground
should only connect to the Kanalog/Kflop board.
9) with an isolation transformer powering an oscilloscope, probe the
encoder signals and see if there good levels at the Kanalog/Kflop
and observe any noise on the signals and across the 5V/gnd
10) Add ferrites to your encoder lines and power supply leads. Get some
cores from Electronic Goldmine or Mouser/Digikey


I built a controller for a CNC plasma cutter years ago and it would
reset the PC every time the arc fired up( HV pilot start).
I had to go to NVE http://www.nve.com/Isolators.php for fast rise/fall
times to isolate the signals to the PC.
Similar parts are used in the USB isolator you bought. Now TI and
AnalogDevices have similar parts, but NVE
was one of the first out with them.
Hope this gives you added ideas to approach the issue.
-Lee Studley
Group: DynoMotion Message: 6995 From: ericncn Date: 3/16/2013
Subject: Re: grounding the KFLOP
Thank you all for the answers, I've removed the noise generator and my axes aren't behaving crazy anymore so I can't do any more experiment on that configuration.

I have now stumbled on a new problem, still probably related to grounding and/or shielding.

When I turn on (or turn off) the spindle motor, I sometimes hear a "bip" in the computer then I find an error window from Kmotion CNC telling that there's a USB communication error (or something like that).

The nasty thing is that re-launching KmotionCNC doesn't help, the only way to clear the error is power-cycle the kflop which is of course something very undesirable during machining of some part.... you lose all the positions etc.

Please not that I AM now using the USB isolator.

I understand there's still some electrical problem in my system, but shouldn't the communication be more fault tolerant?
I mean, if a data packet is corrupted couldn't it just be resent?
Why force a reboot of the system?

EC
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi AZ,
>
> The only thing I can think of is that without the shield noise is getting into all the USB signals, including something like +5V supply, which is affecting the encoders.  But with the shield the internal signals are protected and the noise drains off to GND.
>
> But I have a hard time following your GND terminology and I think we would need a complete map of the topology of the whole system to be of much help.
>
> Regards
> TK 
Group: DynoMotion Message: 6996 From: Lee Studley Date: 3/16/2013
Subject: Re: grounding the KFLOP
Hi Eric,
Questions for diagnosis:
Describe how the spindle is connected to and controlled by the Kflop(
Kanalog?) . What is the spindle
motor and what motor drive is driving it.

This sounds more like a induced spike back into the Flop( Kanalog?)
either from relays or from the
powerline that goes to the spindle or its control path or the power
paths to the Kflop.

If relays are involved being driven from the Kflop, do they have reverse
diodes across the coils.

-Lee


On 3/16/2013 3:53 PM, ericncn wrote:
> Thank you all for the answers, I've removed the noise generator and my axes aren't behaving crazy anymore so I can't do any more experiment on that configuration.
>
> I have now stumbled on a new problem, still probably related to grounding and/or shielding.
>
> When I turn on (or turn off) the spindle motor, I sometimes hear a "bip" in the computer then I find an error window from Kmotion CNC telling that there's a USB communication error (or something like that).
>
>
Group: DynoMotion Message: 6997 From: ericncn Date: 3/16/2013
Subject: Re: grounding the KFLOP
Hi Lee,

there's NO connection between the Kflop and the spindle! (Except they are part of same machine, same mains AC and same earth ground).

The spindle is a single phase AC motor (brushed) with his own small control card, basically you can turn it on, turn it off, adjust speed with a potentiometer. I do it manually. KFlop doesn't control it.

I have NO Kanalog.

So do you think the USB problem is not really a USB problem, but the Kflop going into an error state after getting hit by the spike?
And how can the spike reach the Kflop? Through the earth GND?


--- In DynoMotion@yahoogroups.com, Lee Studley <indigo_red@...> wrote:
>
> Hi Eric,
> Questions for diagnosis:
> Describe how the spindle is connected to and controlled by the Kflop(
> Kanalog?) . What is the spindle
> motor and what motor drive is driving it.
>
> This sounds more like a induced spike back into the Flop( Kanalog?)
> either from relays or from the
> powerline that goes to the spindle or its control path or the power
> paths to the Kflop.
>
> If relays are involved being driven from the Kflop, do they have reverse
> diodes across the coils.
>
> -Lee
>
>
> On 3/16/2013 3:53 PM, ericncn wrote:
> > Thank you all for the answers, I've removed the noise generator and my axes aren't behaving crazy anymore so I can't do any more experiment on that configuration.
> >
> > I have now stumbled on a new problem, still probably related to grounding and/or shielding.
> >
> > When I turn on (or turn off) the spindle motor, I sometimes hear a "bip" in the computer then I find an error window from Kmotion CNC telling that there's a USB communication error (or something like that).
> >
> >
>
Group: DynoMotion Message: 6998 From: az9633@ymail.com Date: 3/16/2013
Subject: Re: grounding the KFLOP
Eric:

The spike could be through the ground depending on the exact physical layout of the parts in your system. Or it could be through the ac line. High frequency spikes can go right through transformers because of the capacitance ( winding to winding) in the transformers and other things like power supplies in the system.

In cases like this the quickest way is with a bit of experimentation.
The most likely suspect would be the brushes on the motor. I would put an RC network from brush to brush to slow down the apike.
I would start with a value of about 0.1 MFD in series with a 100 ohm resistor and put the open lead of the resistor on one brush and the open lead of the capacitor on the other brush.

You might also put the same network acroas the AC line going into your speed controller and on the leads coming out of it that go to the motor. (Yes you end up with what looks like a copy of something already on the motor but the inductance of the wire between the motor and the drive really make them work like two separate circuits.

The other thing you might check is that the motor frame has a ground wire leading back to the motor controller and that the motor controller has a ground to the AC mains. This ground wire should not be skimpy. Use wire of the same guage or larger than the motor leads. Ideally you could use 1" wide flat braid because flat wire conducts high frequencies better.

Do this even though your motor is probably mounted to the metal machine frame. You are trying to make a faster path back to the source (in this case the drive board) than forcing the noise to work it's way through the machine frame where it could induce other noise currents.

I hope it helps.

AZ

--- In DynoMotion@yahoogroups.com, "ericncn" <ericnc@...> wrote:
>
> Hi Lee,
>
> there's NO connection between the Kflop and the spindle! (Except they are part of same machine, same mains AC and same earth ground).
>
> The spindle is a single phase AC motor (brushed) with his own small control card, basically you can turn it on, turn it off, adjust speed with a potentiometer. I do it manually. KFlop doesn't control it.
>
> I have NO Kanalog.
>
> So do you think the USB problem is not really a USB problem, but the Kflop going into an error state after getting hit by the spike?
> And how can the spike reach the Kflop? Through the earth GND?
>
>
> --- In DynoMotion@yahoogroups.com, Lee Studley <indigo_red@> wrote:
> >
> > Hi Eric,
> > Questions for diagnosis:
> > Describe how the spindle is connected to and controlled by the Kflop(
> > Kanalog?) . What is the spindle
> > motor and what motor drive is driving it.
> >
> > This sounds more like a induced spike back into the Flop( Kanalog?)
> > either from relays or from the
> > powerline that goes to the spindle or its control path or the power
> > paths to the Kflop.
> >
> > If relays are involved being driven from the Kflop, do they have reverse
> > diodes across the coils.
> >
> > -Lee
> >
> >
> > On 3/16/2013 3:53 PM, ericncn wrote:
> > > Thank you all for the answers, I've removed the noise generator and my axes aren't behaving crazy anymore so I can't do any more experiment on that configuration.
> > >
> > > I have now stumbled on a new problem, still probably related to grounding and/or shielding.
> > >
> > > When I turn on (or turn off) the spindle motor, I sometimes hear a "bip" in the computer then I find an error window from Kmotion CNC telling that there's a USB communication error (or something like that).
> > >
> > >
> >
>
Group: DynoMotion Message: 6999 From: Lee Studley Date: 3/16/2013
Subject: Re: grounding the KFLOP
Allitle hard to tell, but yes I think its now the FLOP getting pinged. I
think it sounds like a dip in the power (110vac?) is affecting
the KFLOP. I do think this is a new issue.

Maybe there's a fast voltage drop from the spindle motor inrush, If the
motor/control and KFLOP's power
supply share under sized wiring from the wall socket? I'd be curious to
see if the KFLOP supply was powered from
an extension cord to the other side of the shop.

Could you post a picture of your wiring. Are you using a PC power supply
for the KFLOP?


On 3/16/2013 4:39 PM, ericncn wrote:
> Hi Lee,
>
> there's NO connection between the Kflop and the spindle! (Except they are part of same machine, same mains AC and same earth ground).
>
> The spindle is a single phase AC motor (brushed) with his own small control card, basically you can turn it on, turn it off, adjust speed with a potentiometer. I do it manually. KFlop doesn't control it.
>
> I have NO Kanalog.
>
> So do you think the USB problem is not really a USB problem, but the Kflop going into an error state after getting hit by the spike?
> And how can the spike reach the Kflop? Through the earth GND?
>
>
>
Group: DynoMotion Message: 7033 From: ericncn Date: 3/18/2013
Subject: Re: grounding the KFLOP
Thank you all for the answers.

I wouldn't modify the motor, connect wires to the brushes etc., if I start cutting off the connectors etc. I'll void its warranty.

As a first attempt, I disconnected (again) DC GND of Kflop from earth GND.
It seemed to work, I used the machine one day and a half flawlessly, then the problem happened again twice in a row, then again, and again...

Yes Kflop and spindle motor share the same multiple socket; the wiring doesn't seem undersized; tomorrow I'll try to connect the spindle motor to the other side of the workshop via the longest extension cable I have.
(This way Kflop and PC share same multiple socket, and spindle goes a different/longer route. Is that OK or should I try something different?)

The strange thing is I never experienced this issue when I wasn't using the USB isolator... could it the that the spikes previously would traverse the USB cable, now that they can't, they hit the Kflop?

EC

--- In DynoMotion@yahoogroups.com, Lee Studley <indigo_red@...> wrote:
>
> Allitle hard to tell, but yes I think its now the FLOP getting pinged. I
> think it sounds like a dip in the power (110vac?) is affecting
> the KFLOP. I do think this is a new issue.
>
> Maybe there's a fast voltage drop from the spindle motor inrush, If the
> motor/control and KFLOP's power
> supply share under sized wiring from the wall socket? I'd be curious to
> see if the KFLOP supply was powered from
> an extension cord to the other side of the shop.
>
> Could you post a picture of your wiring. Are you using a PC power supply
> for the KFLOP?
>
>
> On 3/16/2013 4:39 PM, ericncn wrote:
> > Hi Lee,
> >
> > there's NO connection between the Kflop and the spindle! (Except they are part of same machine, same mains AC and same earth ground).
> >
> > The spindle is a single phase AC motor (brushed) with his own small control card, basically you can turn it on, turn it off, adjust speed with a potentiometer. I do it manually. KFlop doesn't control it.
> >
> > I have NO Kanalog.
> >
> > So do you think the USB problem is not really a USB problem, but the Kflop going into an error state after getting hit by the spike?
> > And how can the spike reach the Kflop? Through the earth GND?
Group: DynoMotion Message: 7038 From: az@aimele.com Date: 3/19/2013
Subject: Re: grounding the KFLOP
That would be a good test as long as the frame of the motor is isolated from the machine frame ground to eliminate that as a noise path.

AZ



Group: DynoMotion Message: 7041 From: ericncn Date: 3/19/2013
Subject: Re: grounding the KFLOP
In fact, the frame of the motor is NOT isolated from machine frame ground (it is bolted on it) and there's also an earth cable (green/yellow) going from a bolt on the motor to a bolt on the machine frame (single earth point, also motor controller and AC power earth cables go to this bolt).

Now I'm going to the workshop and try the long extension cable.
Once I start, I can't try anything else in order to not lose the zero points of the parts I am machining (I have found a trick to not lose the position even if I have to power-cycle the KFLOP).

EC

--- In DynoMotion@yahoogroups.com, "az@..." <az@...> wrote:
>
> That would be a good test as long as the frame of the motor is isolated from the machine frame ground to eliminate that as a noise path.
>
> AZ
>
>
>
>
Group: DynoMotion Message: 7051 From: Lee Studley Date: 3/19/2013
Subject: Re: grounding the KFLOP
It's an interesting puzzle.
Try the extension cord.

interesting info goes along with AZ's good suggestions:
http://www.fightingrobots.co.uk/documents/EMIGuidelines.pdf

Is the USB isolator, KFLOP, or control physically near the motor?

This is a bit of a stretch: The isolators come in different schemes the
most typical now is
Giant-Magneto-Resistive(GMR) sensing which can be 'pinged' by really
strong magnetic fields
in close proximity, but I've never seen it happen. They modulate and
demodulate the
signal across the barrier in a way the cancels common noise.

Try wrapping the spindle motor leads in ferrite cores.
https://www.google.com/search?q=motor+ferrites+noise

A pic of you machine and setup would help too.

-Lee



On 3/18/2013 6:48 PM, ericncn wrote:
> Thank you all for the answers.
>
> I wouldn't modify the motor, connect wires to the brushes etc., if I start cutting off the connectors etc. I'll void its warranty.
>
> As a first attempt, I disconnected (again) DC GND of Kflop from earth GND.
> It seemed to work, I used the machine one day and a half flawlessly, then the problem happened again twice in a row, then again, and again...
>
> Yes Kflop and spindle motor share the same multiple socket; the wiring doesn't seem undersized; tomorrow I'll try to connect the spindle motor to the other side of the workshop via the longest extension cable I have.
> (This way Kflop and PC share same multiple socket, and spindle goes a different/longer route. Is that OK or should I try something different?)
>
> The strange thing is I never experienced this issue when I wasn't using the USB isolator... could it the that the spikes previously would traverse the USB cable, now that they can't, they hit the Kflop?
>
> EC
>
> --- In DynoMotion@yahoogroups.com, Lee Studley <indigo_red@...> wrote:
>> Allitle hard to tell, but yes I think its now the FLOP getting pinged. I
>> think it sounds like a dip in the power (110vac?) is affecting
>> the KFLOP. I do think this is a new issue.
>>
>> Maybe there's a fast voltage drop from the spindle motor inrush, If the
>> motor/control and KFLOP's power
>> supply share under sized wiring from the wall socket? I'd be curious to
>> see if the KFLOP supply was powered from
>> an extension cord to the other side of the shop.
>>
>> Could you post a picture of your wiring. Are you using a PC power supply
>> for the KFLOP?
>>
>>
>> On 3/16/2013 4:39 PM, ericncn wrote:
>>> Hi Lee,
>>>
>>> there's NO connection between the Kflop and the spindle! (Except they are part of same machine, same mains AC and same earth ground).
>>>
>>> The spindle is a single phase AC motor (brushed) with his own small control card, basically you can turn it on, turn it off, adjust speed with a potentiometer. I do it manually. KFlop doesn't control it.
>>>
>>> I have NO Kanalog.
>>>
>>> So do you think the USB problem is not really a USB problem, but the Kflop going into an error state after getting hit by the spike?
>>> And how can the spike reach the Kflop? Through the earth GND?
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
Group: DynoMotion Message: 7060 From: ericncn Date: 3/19/2013
Subject: Re: grounding the KFLOP
I tried the extension cord and got no faults for a whole day of work.
But actually I turned the spindle on and off only a dozen times (I spent most time writing G-code). I need 2-3 more days with zero faults to state it worked. But then what I do, do I work permanently with the extension cord attached?

Thank you for the useful readings. Maybe I'll found the answer there.

The USB isolator is the OLIMEX as suggested by Tom:
https://www.olimex.com/Products/Modules/Interface/USB-ISO/
and it's close to the PC, relatively close to the Kflop, and about 1 meter far from the spindle.

I forgot to mention the Kflop is in a metal case missing the bottom (the floor). Maybe EMI noise entering from the bottom adds to the problem? I can't currently test if the floor makes any difference because of cables passing there (should make holes in the floor, but I would wait the system is in a final configuration before doing that!).

Thank you,
EC

--- In DynoMotion@yahoogroups.com, Lee Studley <indigo_red@...> wrote:
>
> It's an interesting puzzle.
> Try the extension cord.
>
> interesting info goes along with AZ's good suggestions:
> http://www.fightingrobots.co.uk/documents/EMIGuidelines.pdf
>
> Is the USB isolator, KFLOP, or control physically near the motor?
>
> This is a bit of a stretch: The isolators come in different schemes the
> most typical now is
> Giant-Magneto-Resistive(GMR) sensing which can be 'pinged' by really
> strong magnetic fields
> in close proximity, but I've never seen it happen. They modulate and
> demodulate the
> signal across the barrier in a way the cancels common noise.
>
> Try wrapping the spindle motor leads in ferrite cores.
> https://www.google.com/search?q=motor+ferrites+noise
>
> A pic of you machine and setup would help too.
>
> -Lee
>
>
>
> On 3/18/2013 6:48 PM, ericncn wrote:
> > Thank you all for the answers.
> >
> > I wouldn't modify the motor, connect wires to the brushes etc., if I start cutting off the connectors etc. I'll void its warranty.
> >
> > As a first attempt, I disconnected (again) DC GND of Kflop from earth GND.
> > It seemed to work, I used the machine one day and a half flawlessly, then the problem happened again twice in a row, then again, and again...
> >
> > Yes Kflop and spindle motor share the same multiple socket; the wiring doesn't seem undersized; tomorrow I'll try to connect the spindle motor to the other side of the workshop via the longest extension cable I have.
> > (This way Kflop and PC share same multiple socket, and spindle goes a different/longer route. Is that OK or should I try something different?)
> >
> > The strange thing is I never experienced this issue when I wasn't using the USB isolator... could it the that the spikes previously would traverse the USB cable, now that they can't, they hit the Kflop?
> >
> > EC
> >
> > --- In DynoMotion@yahoogroups.com, Lee Studley <indigo_red@> wrote:
> >> Allitle hard to tell, but yes I think its now the FLOP getting pinged. I
> >> think it sounds like a dip in the power (110vac?) is affecting
> >> the KFLOP. I do think this is a new issue.
> >>
> >> Maybe there's a fast voltage drop from the spindle motor inrush, If the
> >> motor/control and KFLOP's power
> >> supply share under sized wiring from the wall socket? I'd be curious to
> >> see if the KFLOP supply was powered from
> >> an extension cord to the other side of the shop.
> >>
> >> Could you post a picture of your wiring. Are you using a PC power supply
> >> for the KFLOP?
> >>
> >>
> >> On 3/16/2013 4:39 PM, ericncn wrote:
> >>> Hi Lee,
> >>>
> >>> there's NO connection between the Kflop and the spindle! (Except they are part of same machine, same mains AC and same earth ground).
> >>>
> >>> The spindle is a single phase AC motor (brushed) with his own small control card, basically you can turn it on, turn it off, adjust speed with a potentiometer. I do it manually. KFlop doesn't control it.
> >>>
> >>> I have NO Kanalog.
> >>>
> >>> So do you think the USB problem is not really a USB problem, but the Kflop going into an error state after getting hit by the spike?
> >>> And how can the spike reach the Kflop? Through the earth GND?
Group: DynoMotion Message: 7062 From: az@aimele.com Date: 3/19/2013
Subject: Re: grounding the KFLOP
You may be lucky and only have to add a couple of ferrite doughnuts to the AC cord or wires that supply your Spindle controller.
They will "look" like long wires to the noise so you could use shorter AC leads.  You may be able to strip the outer jacket of your AC cord off to get closer to the conductors inside.  First try it with just the neutral and hot leads in the hole.  Then add the ground wire and see what happens.  Sizing the ferrite is also for experimentation.  If you're running the leads through once, Longer ferrites ( like tubes) are better than fat ones ( like bagels).  I've seen applications where I would use a ferrite bagel and wrap the leads through the hole three times to get good results.

Check out the link provided by Lee Studley. It covers a lot of ground.
 
Good luck
AZ

Group: DynoMotion Message: 7064 From: Lee Studley Date: 3/19/2013
Subject: Re: grounding the KFLOP

I would do as AZ suggests and create 2 snubbers as described:

Posted By: az9633...
In cases like this the quickest way is with a bit of experimentation.
The most likely suspect would be the brushes on the motor. I would put an RC
network from brush to brush to slow down the apike.
I would start with a value of about 0.1 MFD in series with a 100 ohm resistor
and put the open lead of the resistor on one brush and the open lead of the
capacitor on the other brush.
http://search.digikey.com/scripts/DkSearch/dksus.dll?vendor=0&keywords=399-7610-ND
http://capacitoredge.kemet.com/capedge2/DataSheet?pn=F720BQ104K300A

2-watt carbon 100ohm resistor
http://www.digikey.com/product-detail/en/1623929-2/A105983TB-ND/2390040


You might also put the same network acroas the AC line going into your speed
controller and on the leads coming out of it that go to the motor. (Yes you end
up with what looks like a copy of something already on the motor but the
inductance of the wire between the motor and the drive really make them work
like two separate circuits.

If its a big spindle motor and If inrush is a problem  you can even go as far as adding a low ohms
rated power resistor in series with the motor controller AC supply, then have a time delay relay short
the resistor after a 1/4 to 1second delay. For my 25hp rotary convertor, I use hot water heater
elements to get the motor fields magnetized in a soft start way, then a contractor close across them.

Thanks Eric and AZ
-Lee



On 3/19/2013 4:03 PM, az@... wrote:
You may be lucky and only have to add a couple of ferrite doughnuts to the AC cord or wires that supply your Spindle controller.
They will "look" like long wires to the noise so you could use shorter AC leads.  You may be able to strip the outer jacket of your AC cord off to get closer to the conductors inside.  First try it with just the neutral and hot leads in the hole.  Then add the ground wire and see what happens.  Sizing the ferrite is also for experimentation.  If you're running the leads through once, Longer ferrites ( like tubes) are better than fat ones ( like bagels).  I've seen applications where I would use a ferrite bagel and wrap the leads through the hole three times to get good results.

Check out the link provided by Lee Studley. It covers a lot of ground.
 
Good luck
AZ

Group: DynoMotion Message: 7078 From: ericncn Date: 3/21/2013
Subject: Re: grounding the KFLOP
As I have very urgent work to do with the mill and the extension cable apparently fixed the problem with turning on/off the spindle (it's over 2 days without faults now) I plan to just stick with it until the job is done, and do more experiments with the electronics later.

But, today same problem happened when switching off the coolant pump!
Actually my coolant pump is one of those small submersible aquarium pumps, it's about 35W power, and doesn't even have an earth ground. The plug only has two wires.

Now I could even believe that the 1.5 Kw spindle motor controller could generate a spike strong enough to induce currents on the earth ground and confuse the KFLOP, but what about a small earth-less 35 W brushless motor?

Tomorrow I'll try to connect the pump to the extension cable too.
Or maybe I connect everything to the extension cable except the KFLOP.
Or maybe the other way around (KFLOP to the extension cable, all the rest remains on same multiple socket).

However this additional information may help understanding/narrowing down the nature of the problem?

EC

--- In DynoMotion@yahoogroups.com, Lee Studley <indigo_red@...> wrote:
>
>
> I would do as AZ suggests and create 2 snubbers as described:
>
> Posted By: /az9633... <http://profiles.yahoo.com/az9633%40ymail%2Ecom> /
> > In cases like this the quickest way is with a bit of experimentation.
> > The most likely suspect would be the brushes on the motor. I would put
> > an RC
> > network from brush to brush to slow down the apike.
> > I would start with a value of about 0.1 MFD in series with a 100 ohm
> > resistor
> > and put the open lead of the resistor on one brush and the open lead
> > of the
> > capacitor on the other brush.
> http://search.digikey.com/scripts/DkSearch/dksus.dll?vendor=0&keywords=399-7610-ND
> http://capacitoredge.kemet.com/capedge2/DataSheet?pn=F720BQ104K300A
>
> 2-/watt/ carbon 100ohm resistor
> http://www.digikey.com/product-detail/en/1623929-2/A105983TB-ND/2390040
>
> >
> > You might also put the same network acroas the AC line going into your
> > speed
> > controller and on the leads coming out of it that go to the motor.
> > (Yes you end
> > up with what looks like a copy of something already on the motor but the
> > inductance of the wire between the motor and the drive really make
> > them work
> > like two separate circuits.
>
> If its a big spindle motor and If inrush is a problem you can even go
> as far as adding a low ohms
> rated power resistor in series with the motor controller AC supply, then
> have a time delay relay short
> the resistor after a 1/4 to 1second delay. For my 25hp rotary convertor,
> I use hot water heater
> elements to get the motor fields magnetized in a soft start way, then a
> contractor close across them.
>
> Thanks Eric and AZ
> -Lee
>
>
>
> On 3/19/2013 4:03 PM, az@... wrote:
> >
> >
> > You may be lucky and only have to add a couple of ferrite doughnuts to
> > the AC cord or wires that supply your Spindle controller.
> > They will "look" like long wires to the noise so you could use shorter
> > AC leads. You may be able to strip the outer jacket of your AC cord
> > off to get closer to the conductors inside. First try it with just
> > the neutral and hot leads in the hole. Then add the ground wire and
> > see what happens. Sizing the ferrite is also for experimentation. If
> > you're running the leads through once, Longer ferrites ( like tubes)
> > are better than fat ones ( like bagels). I've seen applications where
> > I would use a ferrite bagel and wrap the leads through the hole three
> > times to get good results.
> >
> > Check out the link provided by Lee Studley. It covers a lot of ground.
> >
> > Good luck
> > AZ
> >
> >
Group: DynoMotion Message: 7079 From: az@aimele.com Date: 3/21/2013
Subject: Re: grounding the KFLOP

You've run into the issues that many a machine builder finds. 

By using the long power cord you effectively installed an isolation inductor so the noise gets reduced because of the length it has to travel and also the capacitance of the long cable laying on the ground will also serve as capacitor to short it to ground.

No matter how small the coil (motor) is it can generate quite a bit of noise.  A relay coil that uses 0.05ma at 24 v will generate more than  600 v in a flyback surge (arc) when it is shut off .  This surge is not a current surge but a high frequency voltage spike that can ride on the surface of a wire and makes its way through isolation transformer coils an other things via thier capacitance etc.  Ferrites, Snubbers or arc suppressors (R-C networks) are used on electronically controlled devices  because they are usually the cheapest prevention / solution.

You can bulletproof electronic controller from external interference but that usually involves adding an isolation / filter layer between the CPU and the outside world in addition to a good basic layout of the circuit.  It can get time consuming and expensive depending on how big the "bullets" are that you are trying to stop.  Finally, experimentation and redesign iterations to make sure you have all the bases covered so the expense in time and money can get pretty high.

Good Luck with your machine
AZ 


Group: DynoMotion Message: 7080 From: Michael Rosenfield Date: 3/21/2013
Subject: Re: grounding the KFLOP
One thing that I didn't see mentioned - is the KFlop physically close to your spindle controller? Sometimes this makes a difference.
My mill has 2 Hoffman enclosures (from a day when controls used lots of relays); I installed the computer and Kflop/Kanalog in one, and the spindle control in the other. My A/C line powered servo drives are in the same cabinet as the KFlop; they are powered through an isolation transformer in the spindle cabinet. Of course, there are wires going between the two cabinets, but the cabinets are apparently providing some shielding.
 
Michael Rosenfield
 
Group: DynoMotion Message: 7081 From: Lee Studley Date: 3/21/2013
Subject: Re: grounding the KFLOP
One possibility, given all these issues and some commonality:
I'm slightly suspecting that you have a loose (terminal) connection
somewhere
on the lines going from (and including) the outlet back to your building
junction box. Could be anywhere along that path.
Or possibly under guage wiring. -Lee
Group: DynoMotion Message: 7259 From: ericncn Date: 4/15/2013
Subject: Re: grounding the KFLOP
First of all, thank you all for the expert advice and the enlightening readings links and pardon me for the delay in getting back at this, I had extremely urgent work to do so I just stuck with the solution that worked (the long extension cable attached to the spindle's power cord). Now I have a little more time for writing and discussing.

What is certain is that:

- if all the plugs (PC, KFLOP+amplifiers, spindle, coolant pump) go to the same multiple socket, either turning on/off the spindle or the pump will cause a fault condition to the KFLOP;

- if all the plugs are in the multiple socket except the spindle's, and that's connected to the long extension cable, the spindle doesn't disturb the KFLOP anymore. Not a single fault in several days of busy working. It works. (The coolant pump, of course, still makes trouble. I left it always on);

- if all the plugs are in the same multiple socket (spindle included) except the KFLOP and that's connected to the long extension cable... with my great surprise, it didn't work! The spindle was still able to disturb the KFLOP.

There's an USB isolator between KFLOP and PC.

Everything together except spindle with long extension cable -> it works

Everything together except KFLOP with long extension cable -> DOESn'T work

Will try to answer more detailedly all your questions, later
EC

--- In DynoMotion@yahoogroups.com, Lee Studley <indigo_red@...> wrote:
>
> One possibility, given all these issues and some commonality:
> I'm slightly suspecting that you have a loose (terminal) connection
> somewhere
> on the lines going from (and including) the outlet back to your building
> junction box. Could be anywhere along that path.
> Or possibly under guage wiring. -Lee
Group: DynoMotion Message: 7263 From: Lee Studley Date: 4/15/2013
Subject: Re: grounding the KFLOP
Hi Eric,
I was curious about what happened. I'm still thinking it could be a loose
screw terminal, flakey groundfault/arc breaker/socket?, or one of those
wire-push-in-QuickWire type connections somewhere in the house wiring
line. They gave me issues
in my house. Lower amperage loads worked fine, but larger inrushes would
cause arc-noise that was
disruptive. Some contractors even daisy-chain these push-in-lok outlets
which violates some areas codes.
That's what was done my house. I rewired every outlet in the the place.

Some electricians might disagree and it is much faster and easier to do
the QuikWire way, but If you have
any "Man-ly" loads or serious power tools, I don't tolerate this method.

I attached 3 images showing the GoodBadandUgly

-Lee



On 4/15/2013 9:18 AM, ericncn wrote:
> First of all, thank you all for the expert advice and the enlightening readings links and pardon me for the delay in getting back at this, I had extremely urgent work to do so I just stuck with the solution that worked (the long extension cable attached to the spindle's power cord). Now I have a little more time for writing and discussing.
>
> What is certain is that:
>
> - if all the plugs (PC, KFLOP+amplifiers, spindle, coolant pump) go to the same multiple socket, either turning on/off the spindle or the pump will cause a fault condition to the KFLOP;
>
> - if all the plugs are in the multiple socket except the spindle's, and that's connected to the long extension cable, the spindle doesn't disturb the KFLOP anymore. Not a single fault in several days of busy working. It works. (The coolant pump, of course, still makes trouble. I left it always on);
>
> - if all the plugs are in the same multiple socket (spindle included) except the KFLOP and that's connected to the long extension cable... with my great surprise, it didn't work! The spindle was still able to disturb the KFLOP.
>
> There's an USB isolator between KFLOP and PC.
>
> Everything together except spindle with long extension cable -> it works
>
> Everything together except KFLOP with long extension cable -> DOESn'T work
>
> Will try to answer more detailedly all your questions, later
> EC
>
> --- In DynoMotion@yahoogroups.com, Lee Studley <indigo_red@...> wrote:
>> One possibility, given all these issues and some commonality:
>> I'm slightly suspecting that you have a loose (terminal) connection
>> somewhere
>> on the lines going from (and including) the outlet back to your building
>> junction box. Could be anywhere along that path.
>> Or possibly under guage wiring. -Lee
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
  @@attachment@@
Group: DynoMotion Message: 7264 From: Lee Studley Date: 4/15/2013
Subject: Re: grounding the KFLOP
This is a good link where I plagiarized photos.
http://www.handymanhowto.com/2011/01/17/electrical-outlets-side-wire-versus-back-wire/

I also miss-labled BackWiring which has the solid clamping action
instead of the QuickWire/Backstab method




On 4/15/2013 9:18 AM, ericncn wrote:
> First of all, thank you all for the expert advice and the enlightening readings links and pardon me for the delay in getting back at this, I had extremely urgent work to do so I just stuck with the solution that worked (the long extension cable attached to the spindle's power cord). Now I have a little more time for writing and discussing.
>
> What is certain is that:
>
> - if all the plugs (PC, KFLOP+amplifiers, spindle, coolant pump) go to the same multiple socket, either turning on/off the spindle or the pump will cause a fault condition to the KFLOP;
>
> - if all the plugs are in the multiple socket except the spindle's, and that's connected to the long extension cable, the spindle doesn't disturb the KFLOP anymore. Not a single fault in several days of busy working. It works. (The coolant pump, of course, still makes trouble. I left it always on);
>
> - if all the plugs are in the same multiple socket (spindle included) except the KFLOP and that's connected to the long extension cable... with my great surprise, it didn't work! The spindle was still able to disturb the KFLOP.
>
> There's an USB isolator between KFLOP and PC.
>
> Everything together except spindle with long extension cable -> it works
>
> Everything together except KFLOP with long extension cable -> DOESn'T work
>
> Will try to answer more detailedly all your questions, later
> EC
>
> --- In DynoMotion@yahoogroups.com, Lee Studley <indigo_red@...> wrote:
>> One possibility, given all these issues and some commonality:
>> I'm slightly suspecting that you have a loose (terminal) connection
>> somewhere
>> on the lines going from (and including) the outlet back to your building
>> junction box. Could be anywhere along that path.
>> Or possibly under guage wiring. -Lee
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
  @@attachment@@
Group: DynoMotion Message: 7279 From: Michael Rosenfield Date: 4/16/2013
Subject: Re: grounding the KFLOP [3 Attachments]
Remember that most houses (and everything else) are built by the low bidder - not a good way to get quality. Yes there are standards, but again, they are minimums, based primarily on fire reduction, not necessarily on trouble-free operation.
I NEVER use push-in wiring for anything carrying current!
When I built my house in Phoenix in the mid-90's, I marked up the electrical drawing to add extra outlets, add extra breaker panels  (one for the garage, especially), and specified ONLY backwire-stranded outlets. (These clamp the wire inserted from the rear with a screw clamp, and can take stranded as well as solid wire.) I couldn't even get anyone to bid the job! They'd only do it to code, which meant a lower standard that I was willing to accept. I ended up wiring the entire house myself - roped in all my buddies, too, of course!
I've had 0 electrical issues in 16 years, and I run welders, a 5hp compressor, and several 2hp motors, as well as the usual household stuff.
Michael Rosenfield
 
Group: DynoMotion Message: 7281 From: Lee Studley Date: 4/16/2013
Subject: Re: grounding the KFLOP
HI Micheal,
Agreed wholeheartedly. I'm in Phoenix up by Carefree hwy and I17.

Are you aware of the phx valley metal yahoo? If not join. We all do how-to meetings etc.
http://groups.yahoo.com/group/valleymetal/

-Lee

On 4/16/2013 8:12 AM, Michael Rosenfield wrote:
Remember that most houses (and everything else) are built by the low bidder - not a good way to get quality. Yes there are standards, but again, they are minimums, based primarily on fire reduction, not necessarily on trouble-free operation.
I NEVER use push-in wiring for anything carrying current!
When I built my house in Phoenix in the mid-90's, I marked up the electrical drawing to add extra outlets, add extra breaker panels  (one for the garage, especially), and specified ONLY backwire-stranded outlets. (These clamp the wire inserted from the rear with a screw clamp, and can take stranded as well as solid wire.) I couldn't even get anyone to bid the job! They'd only do it to code, which meant a lower standard that I was willing to accept. I ended up wiring the entire house myself - roped in all my buddies, too, of course!
I've had 0 electrical issues in 16 years, and I run welders, a 5hp c ompressor, and several 2hp motors, as well as the usual household stuff.
Michael Rosenfield
 
Group: DynoMotion Message: 7284 From: Brad Murry Date: 4/16/2013
Subject: Re: grounding the KFLOP

Small world!

 

-Brad Murry(Fountain Hills)

 

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Lee Studley
Sent: Tuesday, April 16, 2013 10:32 AM
To: DynoMotion@yahoogroups.com
Cc: Michael Rosenfield
Subject: Re: [DynoMotion] Re: grounding the KFLOP

 

 

HI Micheal,
Agreed wholeheartedly. I'm in Phoenix up by Carefree hwy and I17.

Are you aware of the phx valley metal yahoo? If not join. We all do how-to meetings etc.
http://groups.yahoo.com/group/valleymetal/

-Lee

On 4/16/2013 8:12 AM, Michael Rosenfield wrote:

Remember that most houses (and everything else) are built by the low bidder - not a good way to get quality. Yes there are standards, but again, they are minimums, based primarily on fire reduction, not necessarily on trouble-free operation.
I NEVER use push-in wiring for anything carrying current!
When I built my house in Phoenix in the mid-90's, I marked up the electrical drawing to add extra outlets, add extra breaker panels  (one for the garage, especially), and specified ONLY backwire-stranded outlets. (These clamp the wire inserted from the rear with a screw clamp, and can take stranded as well as solid wire.) I couldn't even get anyone to bid the job! They'd only do it to code, which meant a lower standard that I was willing to accept. I ended up wiring the entire house myself - roped in all my buddies, too, of course!
I've had 0 electrical issues in 16 years, and I run welders, a 5hp c ompressor, and several 2hp motors, as well as the usual household stuff.
Michael Rosenfield
 


To: DynoMotion@yahoogroups.com; ericnc@...
From: indigo_red@...
Date: Mon, 15 Apr 2013 12:33:35 -0700
Subject: Re: [DynoMotion] Re: grounding the KFLOP [3 Attachments]

 

[Attachment(s) from Lee Studley included below] Hi Eric,
I was curious about what happened. I'm still thinking it could be a loose
screw terminal, flakey groundfault/arc breaker/socket?, or one of those
wire-push-in-QuickWire type connections somewhere in the house wiring
line. They gave me issues
in my house. Lower amperage loads worked fine, but larger inrushes would
cause arc-noise that was
disruptive. Some contractors even daisy-chain these push-in-lok outlets
which violates some areas codes.
That's what was done my house. I rewired every outlet in the the place.

Some electricians might disagree and it is much faster and easier to do
the QuikWire way, but If you have
any "Man-ly" loads or serious power tools, I don't tolerate this method.

I attached 3 images showing the GoodBadandUgly

-Lee

On 4/15/2013 9:18 AM, ericncn wrote:
> First of all, thank you all for the expert advice and the enlightening readings links and pardon me for the delay in getting back at this, I had extremely urgent work to do so I just stuck with the solution that worked (the long extension cable attached to the spindle's power cord). Now I have a little more time for writing and discussing.
>
> What is certain is that:
>
> - if all the plugs (PC, KFLOP+amplifiers, spindle, coolant pump) go to the same multiple socket, either turning on/off the spindle or the pump will cause a fault condition to the KFLOP;
>
> - if all the plugs are in the multiple socket except the spindle's, and that's connected to the long extension cable, the spindle doesn't disturb the KFLOP anymore. Not a single fault in several days of busy working. It works. (The coolant pump, of course, still makes trouble. I left it always on);
>
> - if all the plugs are in the same multiple socket (spindle included) except the KFLOP and that's connected to the long extension cable... with my great surprise, it didn't work! The spindle was still able to disturb the KFLOP.
>
> There's an USB isolator between KFLOP and PC.
>
> Everything together except spindle with long extension cable -> it works
>
> Everything together except KFLOP with long extension cable -> DOESn'T work
>
> Will try to answer more detailedly all your questions, later
> EC
>
> --- In DynoMotion@yahoogroups.com, Lee Studley <indigo_red@...> wrote:
>> One possibility, given all these issues and some commonality:
>> I'm slightly suspecting that you have a loose (terminal) connection
>> somewhere
>> on the lines going from (and including) the outlet back to your building
>> junction box. Could be anywhere along that path.
>> Or possibly under guage wiring. -Lee
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>

 

Group: DynoMotion Message: 7691 From: ericncn Date: 6/19/2013
Subject: Re: grounding the KFLOP
First of all I do apologize for not replying earlier; I've been overwhelmed by trouble (not only KFLOP and CNC related), honestly I wasn't able to reply all the questions or perform all the experiments that were suggested. And anyway, my spindle motor has finally broken for the second time (yes, at the end it was clearly shortened to ground!) which was part of the problem, if not most of it.
While waiting it to be fixed or replaced, I need to address other areas of the machine. I'll start different threads for that.

Thanks to all who replied and suggested solutions.

EC

--- In DynoMotion@yahoogroups.com, Lee Studley <indigo_red@...> wrote:
>
> This is a good link where I plagiarized photos.
> http://www.handymanhowto.com/2011/01/17/electrical-outlets-side-wire-versus-back-wire/
>
> I also miss-labled BackWiring which has the solid clamping action
> instead of the QuickWire/Backstab method
>
>
>
>
> On 4/15/2013 9:18 AM, ericncn wrote:
> > First of all, thank you all for the expert advice and the enlightening readings links and pardon me for the delay in getting back at this, I had extremely urgent work to do so I just stuck with the solution that worked (the long extension cable attached to the spindle's power cord). Now I have a little more time for writing and discussing.
> >
> > What is certain is that:
> >
> > - if all the plugs (PC, KFLOP+amplifiers, spindle, coolant pump) go to the same multiple socket, either turning on/off the spindle or the pump will cause a fault condition to the KFLOP;
> >
> > - if all the plugs are in the multiple socket except the spindle's, and that's connected to the long extension cable, the spindle doesn't disturb the KFLOP anymore. Not a single fault in several days of busy working. It works. (The coolant pump, of course, still makes trouble. I left it always on);
> >
> > - if all the plugs are in the same multiple socket (spindle included) except the KFLOP and that's connected to the long extension cable... with my great surprise, it didn't work! The spindle was still able to disturb the KFLOP.
> >
> > There's an USB isolator between KFLOP and PC.
> >
> > Everything together except spindle with long extension cable -> it works
> >
> > Everything together except KFLOP with long extension cable -> DOESn'T work
> >
> > Will try to answer more detailedly all your questions, later
> > EC
> >
> > --- In DynoMotion@yahoogroups.com, Lee Studley <indigo_red@> wrote:
> >> One possibility, given all these issues and some commonality:
> >> I'm slightly suspecting that you have a loose (terminal) connection
> >> somewhere
> >> on the lines going from (and including) the outlet back to your building
> >> junction box. Could be anywhere along that path.
> >> Or possibly under guage wiring. -Lee
> >
> >
> > ------------------------------------
> >
> > Yahoo! Groups Links
Group: DynoMotion Message: 7771 From: tapiolarikka Date: 6/24/2013
Subject: Re: grounding the KFLOP
Hi Eric!

I run across this same problem with coolant pump messing up control system. I have a contactor/relay controlled three phase coolant pump.

After a short google search, long wondering of the used terms and even longer rethinking if I understood the used terms correctly I
added RC-networks across contactor contacts and varistors from each phase to neutral and neutral to ground. After these mods I haven't
had a single incident relating to coolant pump.

If your spindle is contactor/relay driven I think it also needs arc
supression.

Rgds,
Tapio

--- In DynoMotion@yahoogroups.com, "ericncn" <ericnc@...> wrote:
>
> First of all I do apologize for not replying earlier; I've been overwhelmed by trouble (not only KFLOP and CNC related), honestly I wasn't able to reply all the questions or perform all the experiments that were suggested. And anyway, my spindle motor has finally broken for the second time (yes, at the end it was clearly shortened to ground!) which was part of the problem, if not most of it.
> While waiting it to be fixed or replaced, I need to address other areas of the machine. I'll start different threads for that.
>
> Thanks to all who replied and suggested solutions.
>
> EC
>
> --- In DynoMotion@yahoogroups.com, Lee Studley <indigo_red@> wrote:
> >
> > This is a good link where I plagiarized photos.
> > http://www.handymanhowto.com/2011/01/17/electrical-outlets-side-wire-versus-back-wire/
> >
> > I also miss-labled BackWiring which has the solid clamping action
> > instead of the QuickWire/Backstab method
> >
> >
> >
> >
> > On 4/15/2013 9:18 AM, ericncn wrote:
> > > First of all, thank you all for the expert advice and the enlightening readings links and pardon me for the delay in getting back at this, I had extremely urgent work to do so I just stuck with the solution that worked (the long extension cable attached to the spindle's power cord). Now I have a little more time for writing and discussing.
> > >
> > > What is certain is that:
> > >
> > > - if all the plugs (PC, KFLOP+amplifiers, spindle, coolant pump) go to the same multiple socket, either turning on/off the spindle or the pump will cause a fault condition to the KFLOP;
> > >
> > > - if all the plugs are in the multiple socket except the spindle's, and that's connected to the long extension cable, the spindle doesn't disturb the KFLOP anymore. Not a single fault in several days of busy working. It works. (The coolant pump, of course, still makes trouble. I left it always on);
> > >
> > > - if all the plugs are in the same multiple socket (spindle included) except the KFLOP and that's connected to the long extension cable... with my great surprise, it didn't work! The spindle was still able to disturb the KFLOP.
> > >
> > > There's an USB isolator between KFLOP and PC.
> > >
> > > Everything together except spindle with long extension cable -> it works
> > >
> > > Everything together except KFLOP with long extension cable -> DOESn'T work
> > >
> > > Will try to answer more detailedly all your questions, later
> > > EC
> > >
> > > --- In DynoMotion@yahoogroups.com, Lee Studley <indigo_red@> wrote:
> > >> One possibility, given all these issues and some commonality:
> > >> I'm slightly suspecting that you have a loose (terminal) connection
> > >> somewhere
> > >> on the lines going from (and including) the outlet back to your building
> > >> junction box. Could be anywhere along that path.
> > >> Or possibly under guage wiring. -Lee
> > >
> > >
> > > ------------------------------------
> > >
> > > Yahoo! Groups Links
>
Group: DynoMotion Message: 7939 From: ericncn Date: 7/15/2013
Subject: Re: grounding the KFLOP
Hi Tapio,

when you say same problem do you mean your KFLOP was losing the USB connection when turning the pump on or off, too?

Yes my spindle motor was contactor driven (sort of) but at this point I trashed it and built an entirely new solution with a different motor and a VFD for controlling its speed. Hope it'll work better.

--- In DynoMotion@yahoogroups.com, "tapiolarikka" <tapio.larikka@...> wrote:
>
> Hi Eric!
>
> I run across this same problem with coolant pump messing up control system. I have a contactor/relay controlled three phase coolant pump.
>
> After a short google search, long wondering of the used terms and even longer rethinking if I understood the used terms correctly I
> added RC-networks across contactor contacts and varistors from each phase to neutral and neutral to ground. After these mods I haven't
> had a single incident relating to coolant pump.
>
> If your spindle is contactor/relay driven I think it also needs arc
> supression.
>
> Rgds,
> Tapio
>
> --- In DynoMotion@yahoogroups.com, "ericncn" <ericnc@> wrote:
> >
> > First of all I do apologize for not replying earlier; I've been overwhelmed by trouble (not only KFLOP and CNC related), honestly I wasn't able to reply all the questions or perform all the experiments that were suggested. And anyway, my spindle motor has finally broken for the second time (yes, at the end it was clearly shortened to ground!) which was part of the problem, if not most of it.
> > While waiting it to be fixed or replaced, I need to address other areas of the machine. I'll start different threads for that.
> >
> > Thanks to all who replied and suggested solutions.
> >
> > EC
> >
> > --- In DynoMotion@yahoogroups.com, Lee Studley <indigo_red@> wrote:
> > >
> > > This is a good link where I plagiarized photos.
> > > http://www.handymanhowto.com/2011/01/17/electrical-outlets-side-wire-versus-back-wire/
> > >
> > > I also miss-labled BackWiring which has the solid clamping action
> > > instead of the QuickWire/Backstab method
> > >
> > >
> > >
> > >
> > > On 4/15/2013 9:18 AM, ericncn wrote:
> > > > First of all, thank you all for the expert advice and the enlightening readings links and pardon me for the delay in getting back at this, I had extremely urgent work to do so I just stuck with the solution that worked (the long extension cable attached to the spindle's power cord). Now I have a little more time for writing and discussing.
> > > >
> > > > What is certain is that:
> > > >
> > > > - if all the plugs (PC, KFLOP+amplifiers, spindle, coolant pump) go to the same multiple socket, either turning on/off the spindle or the pump will cause a fault condition to the KFLOP;
> > > >
> > > > - if all the plugs are in the multiple socket except the spindle's, and that's connected to the long extension cable, the spindle doesn't disturb the KFLOP anymore. Not a single fault in several days of busy working. It works. (The coolant pump, of course, still makes trouble. I left it always on);
> > > >
> > > > - if all the plugs are in the same multiple socket (spindle included) except the KFLOP and that's connected to the long extension cable... with my great surprise, it didn't work! The spindle was still able to disturb the KFLOP.
> > > >
> > > > There's an USB isolator between KFLOP and PC.
> > > >
> > > > Everything together except spindle with long extension cable -> it works
> > > >
> > > > Everything together except KFLOP with long extension cable -> DOESn'T work
> > > >
> > > > Will try to answer more detailedly all your questions, later
> > > > EC
> > > >
> > > > --- In DynoMotion@yahoogroups.com, Lee Studley <indigo_red@> wrote:
> > > >> One possibility, given all these issues and some commonality:
> > > >> I'm slightly suspecting that you have a loose (terminal) connection
> > > >> somewhere
> > > >> on the lines going from (and including) the outlet back to your building
> > > >> junction box. Could be anywhere along that path.
> > > >> Or possibly under guage wiring. -Lee
> > > >
> > > >
> > > > ------------------------------------
> > > >
> > > > Yahoo! Groups Links
> >
>